

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8fafc;
    color: #2d3748;
    line-height: 1.6;
}

  
    .intro-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background:linear-gradient(135deg, #1b2e84 0%, #764ba2 100%);
        clip-path: circle(0% at 0 0); 
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
        animation: expandCircle 1.5s ease-out forwards;
    }

    .intro-content {
        opacity: 0;
        text-align: center;
        color: white;
        animation: fadeIn 0.5s ease forwards 1.5s, glitter 1s linear 1.5s;
    }

    .intro-content h1 {
        font-size: 3rem;
        letter-spacing: 2px;
        position: relative;
    }

    .intro-content img {
        width: 80px;
        height: 80px;
        margin-top: 15px;
        filter: drop-shadow(0 0 10px #fff);
    }

    .main-content {
        display: none;
        padding: 20px;
    }

    
    @keyframes expandCircle {
        to {
            clip-path: circle(150% at 0 0); 
        }
    }

    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }

    @keyframes glitter {
        0%, 100% { text-shadow: 0 0 5px #fff, 0 0 10px #fff; }
        50% { text-shadow: 0 0 20px #fff, 0 0 40px #fff; }
    }




.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}


.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-left: 0.5rem;
}

.header > i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
}


.notification-wrapper {
    position: relative;
}

.notification-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.notification-btn:hover {
    background-color: #f7fafc;
}

.notification-btn i {
    font-size: 1.2rem;
    color: #4a5568;
}

.notification-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.clear-btn {
    background: none;
    border: none;
    color: #4299e1;
    cursor: pointer;
    font-size: 0.875rem;
}

.clear-btn:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.empty-notifications {
    padding: 2rem;
    text-align: center;
    color: #718096;
    font-style: italic;
}

.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f7fafc;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: #f7fafc;
}

.notification-item.unread {
    background-color: #ebf8ff;
    border-left: 3px solid #4299e1;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.notification-message {
    flex: 1;
    font-size: 0.875rem;
    color: #2d3748;
}

.notification-time {
    font-size: 0.75rem;
    color: #718096;
    margin-left: 0.5rem;
    white-space: nowrap;
}


.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-icon {
    margin-bottom: 1rem;
}

.hero-icon i {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 50%;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.feature i {
    font-size: 1.5rem;
    color: #90cdf4;
}

.feature-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.875rem;
    opacity: 0.8;
}


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

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: 2fr 1fr;
    }
}


.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card.active-queue {
    border-left: 4px solid #4299e1;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2d3748;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 0.5rem;
}

.form-group input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.chevron {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #718096;
}


.btn-primary,
.btn-secondary,
.btn-danger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-primary:hover {
    background: #3182ce;
}

.btn-primary:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

.btn-secondary {
    background: white;
    color: #4299e1;
    border: 1px solid #4299e1;
}

.btn-secondary:hover {
    background: #ebf8ff;
}

.btn-danger {
    background: #e53e3e;
    color: white;
}

.btn-danger:hover {
    background: #c53030;
}


.info-box {
    background: #ebf8ff;
    border-left: 4px solid #4299e1;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.info-icon {
    color: #4299e1;
    font-size: 1.2rem;
}

.info-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.info-content p {
    font-size: 0.875rem;
    color: #4a5568;
}


.ticket {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ticket-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.ticket-info p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.ticket-number {
    background: white;
    color: #3182ce;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.ticket-progress {
    margin-bottom: 1.5rem;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: white;
    transition: width 0.3s ease;
}

.ticket-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item p:first-child {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.detail-item p:last-child {
    font-weight: 500;
}


.notification-info {
    background: #fefcbf;
    border-left: 4px solid #ecc94b;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    border-radius: 8px;
    color: #744210;
}

.notification-info i {
    color: #ecc94b;
    font-size: 1.2rem;
}

.notification-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.notification-content p {
    font-size: 0.875rem;
}


.queue-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.queue-card {
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.queue-card:hover {
    border-color: #4299e1;
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.1);
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.queue-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.queue-info p {
    font-size: 0.875rem;
    color: #718096;
}

.queue-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #718096;
}

.queue-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}


.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.active {
    background: #d6f5d6;
    color: #22543d;
}

.status.closed {
    background: #fed7d7;
    color: #742a2a;
}


.tips {
    list-style: none;
}

.tips li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.tips li i {
    color: #ecc94b;
    margin-top: 0.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .ticket-details {
        grid-template-columns: 1fr;
    }
    
    .notification-dropdown {
        width: 280px;
        right: -140px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .notification-dropdown {
        width: 250px;
        right: -120px;
    }
}
