* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.input-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.input-section h2 {
    margin-bottom: 20px;
    color: #667eea;
}

#minutes-input {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    resize: vertical;
    transition: border-color 0.3s;
}

#minutes-input:focus {
    outline: none;
    border-color: #667eea;
}

#summarize-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s;
}

#summarize-btn:hover {
    transform: translateY(-2px);
}

#summarize-btn:active {
    transform: translateY(0);
}

.loading {
    text-align: center;
    padding: 40px;
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.results-section.hidden {
    display: none;
}

.summary-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.summary-card h3 {
    margin-bottom: 15px;
    color: #667eea;
    font-size: 1.3em;
}

.content-box {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    min-height: 100px;
}

.content-box ul {
    list-style-position: inside;
    margin-left: 10px;
}

.content-box li {
    margin-bottom: 8px;
}

.participant-summary {
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 5px;
}

.participant-summary h4 {
    color: #764ba2;
    margin-bottom: 5px;
}

.export-section {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.export-section button {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 25px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.export-section button:hover {
    background: #764ba2;
}

.features {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.features h2 {
    margin-bottom: 20px;
    color: #667eea;
}

.features ul {
    list-style: none;
}

.features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    color: #666;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .results-section {
        grid-template-columns: 1fr;
    }
    
    .export-section button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}