/* Antrian System Styles */

/* Base Styles */
.antrian-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Section */
.antrian-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.1);
}

.antrian-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

.antrian-hero-subtitle {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 36rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Flow Timeline */
.antrian-timeline {
    position: relative;
    padding: 0;
}

.antrian-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.5rem;
    width: 4px;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 4px;
}

.antrian-step {
    position: relative;
    padding-left: 5rem;
    padding-bottom: 3rem;
}

.antrian-step:last-child {
    padding-bottom: 0;
}

.antrian-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.antrian-step-content {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.antrian-step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.antrian-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.antrian-step-description {
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Button Styles */
.antrian-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 700;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
}

.antrian-btn-primary {
    background-color: #3b82f6;
    color: white;
}

.antrian-btn-primary:hover {
    background-color: #2563eb;
}

.antrian-btn-indigo {
    background-color: #6366f1;
    color: white;
}

.antrian-btn-indigo:hover {
    background-color: #4f46e5;
}

.antrian-btn-purple {
    background-color: #8b5cf6;
    color: white;
}

.antrian-btn-purple:hover {
    background-color: #7c3aed;
}

.antrian-btn-green {
    background-color: #10b981;
    color: white;
}

.antrian-btn-green:hover {
    background-color: #059669;
}

.antrian-btn-amber {
    background-color: #f59e0b;
    color: white;
}

.antrian-btn-amber:hover {
    background-color: #d97706;
}

/* Modal Styles */
.antrian-modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Notification Styles */
.antrian-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateX(calc(100% + 1rem));
    transition: transform 0.3s ease;
    z-index: 9999;
    max-width: 24rem;
}

.antrian-notification.show {
    transform: translateX(0);
}

.antrian-notification-content {
    display: flex;
    align-items: center;
}

.antrian-notification-success {
    border-left: 4px solid #10b981;
}

.antrian-notification-error {
    border-left: 4px solid #ef4444;
}

.antrian-notification-info {
    border-left: 4px solid #3b82f6;
}

/* Step Highlight Animation */
@keyframes antrian-highlight-pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.antrian-highlight-step .antrian-step-content {
    animation: antrian-highlight-pulse 1.5s ease-out;
}

/* Dark Mode Adjustments */
.dark .antrian-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.dark .antrian-timeline::before {
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
}

.dark .antrian-step-content {
    background-color: #1e293b;
    border-color: #334155;
}

.dark .antrian-step-title {
    color: #f3f4f6;
}

.dark .antrian-step-description {
    color: #d1d5db;
}

.dark .antrian-notification {
    background-color: #1e293b;
    color: #f3f4f6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .antrian-timeline::before {
        left: 1.5rem;
    }
    
    .antrian-step {
        padding-left: 3.5rem;
    }
    
    .antrian-step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}
