/* ===========================
   Deadline Styles
   =========================== */

/* Deadline Banner in Hero Section */
.deadline-banner {
    margin-top: 20px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #FF1B8D 0%, #FF6B35 100%);
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 30px rgba(255, 27, 141, 0.5);
    animation: deadlinePulse 2s ease-in-out infinite;
}

.deadline-banner i {
    color: white;
    font-size: 1.2rem;
    animation: shake 0.5s ease-in-out infinite;
}

.deadline-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.deadline-text strong {
    font-weight: 900;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Deadline Item in Details Section */
.deadline-item {
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8DC 100%);
    border: 3px solid #FF6B35 !important;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3) !important;
}

.deadline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5) !important;
}

.deadline-item .detail-icon {
    background: linear-gradient(135deg, #FF1B8D 0%, #FF6B35 100%);
    box-shadow: 0 0 30px rgba(255, 27, 141, 0.6);
    animation: iconPulse 2s ease-in-out infinite;
}

.deadline-highlight {
    color: #FF1B8D !important;
    font-size: 1.3rem !important;
    font-weight: 900 !important;
}

.deadline-highlight strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-shadow: 0 0 15px rgba(255, 27, 141, 0.3);
}

/* Form Deadline Notice */
.form-deadline-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #FFE8DC 0%, #FFF5F0 100%);
    border: 2px solid #FF6B35;
    border-radius: 50px;
    margin-top: 15px;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.form-deadline-notice i {
    color: #FF1B8D;
    font-size: 1.1rem;
    animation: clockTick 1s ease-in-out infinite;
}

.form-deadline-notice span {
    color: #2D1B1B;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-deadline-notice strong {
    color: #FF1B8D;
    font-weight: 900;
    font-size: 1.05rem;
}

/* Animations */
@keyframes deadlinePulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 27, 141, 0.5);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 27, 141, 0.8);
    }
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 27, 141, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 27, 141, 0.8);
    }
}

@keyframes clockTick {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .deadline-banner {
        padding: 12px 20px;
        margin-top: 15px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .deadline-text {
        font-size: 0.9rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .deadline-text strong {
        font-size: 1rem;
        display: inline;
    }
    
    .deadline-highlight strong {
        font-size: 1.3rem;
    }
    
    .form-deadline-notice {
        padding: 10px 18px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .deadline-banner {
        padding: 12px 16px;
        margin-top: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        max-width: 95%;
    }
    
    .deadline-banner i {
        font-size: 1rem;
    }
    
    .deadline-text {
        font-size: 0.85rem;
        text-align: center;
        line-height: 1.6;
        flex: 1 1 100%;
    }
    
    .deadline-text strong {
        font-size: 0.9rem;
        display: inline-block;
    }
    
    .deadline-text strong {
        font-size: 0.95rem;
    }
}
