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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

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

.subtitle {
    font-size: 1.1em;
    opacity: 0.9;
    margin-top: 10px;
}

.search-container {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

#searchInput {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#searchInput:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.content {
    padding: 40px 30px;
}

.intro {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #1e40af;
}

.intro h2 {
    color: #1e40af;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8em;
    color: #1e3a8a;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.acronym-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.acronym-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.acronym-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.acronym-code {
    font-size: 1.3em;
    font-weight: 700;
    color: #1e3a8a;
}

.expand-icon {
    font-size: 1.2em;
    color: #667eea;
    transition: transform 0.3s ease;
}

.acronym-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.acronym-full {
    font-size: 1.1em;
    color: #495057;
    margin-bottom: 10px;
    font-weight: 500;
}

.acronym-description {
    color: #6c757d;
    line-height: 1.8;
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.acronym-item.expanded .acronym-description {
    display: block;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    display: none;
}

.no-results.show {
    display: block;
}

footer {
    background: #f8f9fa;
    padding: 20px 30px;
    text-align: center;
    color: #6c757d;
    border-top: 2px solid #e9ecef;
}

footer a {
    color: #667eea;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .category-title {
        font-size: 1.5em;
    }

    .content {
        padding: 30px 20px;
    }
}
