:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-color: #202124;
    --background-color: #f8f9fa;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.autoever-logo {
    height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    height: 36px;
}

.user-info i {
    font-size: 1.1rem;
    color: #3367d6;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.user-name {
    font-weight: 600;
    color: #1a237e;
    line-height: 1.2;
    font-size: 0.95rem;
}

.user-email {
    color: #666;
    font-size: 0.8rem;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), #3367d6);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 36px;
    line-height: 1;
}

.nav-menu a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #3367d6, var(--primary-color));
}

.nav-menu a i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-menu a:hover i {
    transform: translateX(3px);
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: #1a237e;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    height: 36px;
    line-height: 1;
}

.logout-btn:hover {
    background: rgba(26, 35, 126, 0.1);
    color: #3367d6;
}

.logout-btn i {
    font-size: 1.1rem;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), #3367d6);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 36px;
    line-height: 1;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #3367d6, var(--primary-color));
}

.login-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(3px);
}

main {
    padding-top: 52px;
    flex: 1;
}

#pattern-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

#pattern-container-2 {
    position: absolute;
    right: 0;
    top: 0;
    width: 50vw;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
}

.hero {
    background: linear-gradient(rgba(66, 133, 244, 0.9), rgba(0, 120, 212, 0.9));
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-overlay.png');
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.hero h1 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease-out;
    line-height: 1.3;
    word-break: keep-all;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-features .feature-text {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    padding: 0 1rem;
    text-align: center;
    word-break: keep-all;
    white-space: normal;
}

.hero-features .feature-text br {
    display: block;
    content: "";
    margin: 1rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .hero-content {
        max-width: 600px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-features .feature-text {
        font-size: 1.1rem;
    }

    .company-title {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.4rem 1rem;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-features .feature-text {
        font-size: 1rem;
        padding: 0;
    }

    .logo {
        height: 28px;
    }
    
    .logo.autoever-logo {
        height: 24px;
    }
    
    .mtp-logo {
        height: 22px;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .user-name span {
        display: none;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a, .logout-btn, .login-btn {
        padding: 0.4rem 0.8rem;
        height: 32px;
    }

    .nav-menu a span, .logout-btn span {
        display: none;
    }

    .nav-menu a i, .logout-btn i {
        font-size: 1.1rem;
        margin: 0;
    }

    .login-btn {
        padding: 0.5rem;
    }

    .login-btn span {
        display: none;
    }

    .login-btn i {
        font-size: 1.1rem;
        margin: 0;
    }

    .company-title {
        display: none;
    }

    .user-email {
        display: none;
    }

    .notice-bell {
        margin-left: 0.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.3rem 0.5rem;
    }

    .logo-container {
        gap: 0.5rem;
    }

    .logo {
        height: 24px;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .user-info {
        gap: 0.25rem;
    }

    .nav-menu {
        gap: 0.25rem;
    }

    .nav-menu a, .logout-btn, .login-btn {
        padding: 0.3rem 0.6rem;
        height: 30px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.card-icon.technical {
    background-image: url('../images/technical.svg');
}

.card-icon.billing {
    background-image: url('../images/billing.svg');
}

.card-icon.urgent {
    background-image: url('../images/urgent.svg');
}

.card h2 {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-description {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-button {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 1.5rem;
}

.action-button:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

footer {
    background: #fff;
    color: #204a99;
    padding: 2rem 0 0 0;
    margin-top: auto;
    border-top: 1px solid #e3eafc;
    box-shadow: 0 -2px 8px rgba(51,103,214,0.07);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 36px;
    object-fit: contain;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-copyright {
    flex: 1 1 auto;
    text-align: right;
    font-size: 1rem;
    color: #204a99;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.privacy-policy {
    color: #204a99;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.privacy-policy:hover {
    background-color: #e3eafc;
    color: #204a99;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-column {
    text-align: right;
}

.footer-column h3 {
    font-family: 'Noto Sans KR', sans-serif;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #9aa0a6;
}

.footer-column a {
    font-family: 'Noto Sans KR', sans-serif;
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    font-family: 'Noto Sans KR', sans-serif;
    max-width: 1200px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid #3c4043;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-admin {
    margin-left: auto;
}

.admin-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.admin-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .support-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-copyright {
        text-align: center;
        font-size: 0.95rem;
        align-items: center;
    }

    .footer-admin {
        margin: 0;
    }

    .footer-logo img {
        height: 32px;
    }

    .privacy-policy {
        font-size: 0.9rem;
    }
}

/* 언어 토글 버튼 스타일 */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    background: #e3eafc;
    border: none;
    border-radius: 20px;
    padding: 0.25rem 1.1rem 0.25rem 0.4rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #204a99;
    box-shadow: 0 2px 8px rgba(51,103,214,0.07);
    position: relative;
    transition: background 0.2s;
    margin-left: 0;
}

.lang-toggle .current-lang {
    background: #204a99;
    color: #fff;
    border-radius: 12px;
    padding: 0.25rem 0.9rem;
    margin-right: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.lang-toggle .other-lang {
    color: #204a99;
    margin-left: 0.5rem;
    font-weight: 500;
}

.lang-toggle .divider {
    color: #204a99;
    margin: 0 0.2rem;
    font-weight: 700;
}

.lang-toggle:active, .lang-toggle:focus {
    outline: none;
    background: #d2e3fc;
}

@media (max-width: 768px) {
    .lang-toggle {
        font-size: 0.95rem;
        padding: 0.2rem 0.7rem 0.2rem 0.3rem;
    }
    .lang-toggle .current-lang {
        padding: 0.18rem 0.7rem;
    }
}

/* 클라우드 서비스별 카드 스타일 */
.card.azure .card-icon {
    background-image: url('../images/Microsoft_Azure.svg.png');
}

.card.gcp .card-icon {
    background-image: url('../images/gcp.png');
}

.card.urgent .card-icon {
    background-image: url('../images/urgent.svg');
}

.card.azure {
    border-top: 4px solid #0078d4;
}

.card.gcp {
    border-top: 4px solid #FBBC04;
}

.card.urgent {
    border-top: 4px solid #ea4335;
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInDown 0.8s ease-out;
}

.card.urgent .action-button {
    background-color: #ea4335;
    box-shadow: 0 2px 4px rgba(234, 67, 53, 0.3);
}

.card.urgent .action-button:hover {
    background-color: #d33426;
    box-shadow: 0 4px 8px rgba(234, 67, 53, 0.4);
}

.company-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3C3D3D !important;
    white-space: nowrap;
}

.card.gcp .action-button {
    background-color: #FBBC05;
    box-shadow: 0 2px 4px rgba(251, 188, 5, 0.3);
}

.card.gcp .action-button:hover {
    background-color: #F9A825;
    box-shadow: 0 4px 8px rgba(251, 188, 5, 0.4);
}

#noticeBadge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.75rem;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.notice-bell {
    position: relative;
    margin-left: 1rem;
    color: #3367d6;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.notice-bell:hover {
    transform: scale(1.1);
}

.notice-bell:hover::after {
    content: "공지내용 다시 보기";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
}

.notice-bell:hover::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
    z-index: 1000;
} 

.ticket-number-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-number-text {
    font-weight: 600;
    color: #204a99;
}

.copy-ticket-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: #666;
}

.copy-ticket-btn:hover {
    background-color: #f5f5f5;
    color: #204a99;
}

.copy-ticket-btn.copied {
    background-color: #e8f0fe;
    color: #204a99;
}

.copy-ticket-btn i {
    font-size: 14px;
}

.copy-success {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.copy-success i {
    color: #4CAF50;
}

.region-map-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.region-map-img {
    width: 100%;
    display: block;
}

.region-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    background: rgba(74, 144, 226, 0.82);
    color: #fff;
    border-radius: 50% 50% 50% 50% / 50% 50% 60% 60%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(74,144,226,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, border 0.2s, color 0.2s;
    opacity: 0.92;
    z-index: 2;
    margin-bottom: 10px;
}

.region-marker::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 11px solid rgba(74, 144, 226, 0.82);
    filter: drop-shadow(0 2px 4px rgba(74,144,226,0.18));
    z-index: 1;
}

.region-marker:hover {
    background: rgba(53, 122, 189, 0.95);
    color: #ffe082;
    border-color: #ffe082;
    box-shadow: 0 6px 24px rgba(53,122,189,0.22), 0 2px 8px rgba(0,0,0,0.13);
    opacity: 1;
}

.region-marker:hover::after {
    border-top-color: rgba(53, 122, 189, 0.95);
}

.region-marker[data-tooltip]:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 120%;
    transform: translateX(-50%);
    background: rgba(74, 144, 226, 0.97);
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.98rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(74,144,226,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.18s;
}

.region-marker[data-tooltip]:hover::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid rgba(74, 144, 226, 0.97);
    z-index: 11;
    pointer-events: none;
}

.reset-btn {
    margin-left: 1.2rem;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    background: #f5f6fa;
    color: #666;
    border: 1.2px solid #ddd;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
}

.reset-btn i {
    font-size: 0.9em;
}

.stat-filter-bar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1.8rem 2.2rem;
    margin-bottom: 2.2rem;
}

#stat-filter-form {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.filter-item {
    min-width: 140px;
    margin-right: 0.5rem;
}

.filter-item label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    white-space: nowrap;
}

.filter-item select,
.filter-item input[type="date"] {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    border: 1.2px solid #e0e0e0;
    font-size: 0.95rem;
    min-width: 120px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.filter-item select:hover,
.filter-item input[type="date"]:hover {
    border-color: #1a73e8;
    background: #fff;
}

.filter-item select:focus,
.filter-item input[type="date"]:focus {
    border-color: #1a73e8;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.1);
}

.filter-item input[type="date"] {
    font-family: 'Noto Sans KR', '맑은 고딕', Arial, sans-serif !important;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.search-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    background: #1a73e8;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: #1557b0;
}

.reset-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    background: #f8f9fa;
    color: #666;
    border: 1.2px solid #ddd;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: #e9ecef;
    color: #333;
    border-color: #ccc;
}

.custom-multiselect {
    min-width: 250px;
    max-width: 300px;
}

.custom-multiselect .dropdown-btn {
    width: 100%;
    min-width: 250px;
    max-width: 300px;
    background: #f5f8fd !important;
    color: #204a99 !important;
    border: 1.5px solid #bcd2f7 !important;
    font-weight: 600;
    transition: background 0.18s, border 0.18s, color 0.18s;
}
.custom-multiselect .dropdown-btn:hover,
.custom-multiselect .dropdown-btn.active {
    background: #e3eafc !important;
    color: #1a73e8 !important;
    border-color: #1a73e8 !important;
}

.custom-multiselect .dropdown-list {
    background: #fff;
    border: 1.5px solid #bcd2f7;
    box-shadow: 0 2px 8px rgba(26,115,232,0.07);
}

.custom-multiselect .dropdown-list label {
    color: #204a99;
    font-weight: 500;
    border-radius: 5px;
    transition: background 0.15s, color 0.15s;
}
.custom-multiselect .dropdown-list label:hover,
.custom-multiselect .dropdown-list label:focus-within {
    background: #e3eafc;
    color: #1a73e8;
}

.custom-multiselect .dropdown-list input[type="checkbox"] {
    accent-color: #1a73e8;
}

@media (max-width: 1200px) {
    .stat-filter-bar {
        padding: 1.5rem;
    }
    
    #stat-filter-form {
        gap: 1.5rem;
    }
    
    .filter-row {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (max-width: 900px) {
    .filter-row {
        flex-wrap: wrap;
        gap: 0.7rem;
    }
    .filter-item {
        min-width: 120px;
        margin-right: 0.2rem;
    }
    .filter-actions {
        width: 100%;
        justify-content: flex-end;
        margin-left: 0;
        margin-top: 0.7rem;
    }
}

.period-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.period-item label {
    margin-right: 0.5rem;
}

.period-sep {
    margin: 0 0.3rem;
    color: #888;
    font-weight: 600;
    font-size: 1.1em;
}

.company-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 0.5rem;
}

.company-title-group {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.company-title-group i {
    font-size: 1.5rem;
    color: #1a73e8;
}

.company-title-text {
    font-size: 1.18rem;
    font-weight: 700;
    color: #1a73e8;
    letter-spacing: -0.5px;
}

@media (max-width: 900px) {
    .company-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }
    .custom-multiselect {
        width: 100%;
    }
}

.stat-card-graph {
    margin-top: 1.2rem;
    min-height: 120px;
    max-width: 100%;
    overflow-x: auto;
}

.stat-card-graph canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
} 