@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #ff9a3c;
    --secondary-color: #ffd6a5;
    --text-color: #333333;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

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

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.main-container {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    padding: 40px 0;
    margin: 10% 0;
}

.expired-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

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

.expired-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.left-panel {
    background: linear-gradient(135deg, var(--danger-color) 0%, #c82333 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-50px, -50px) rotate(360deg);
    }
}

.expired-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.5);
    animation: iconPop 0.8s ease forwards 0.3s;
    z-index: 2;
    position: relative;
}

@keyframes iconPop {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.left-panel h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
    z-index: 2;
    position: relative;
}

.left-panel p {
    font-size: 1.1rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
    z-index: 2;
    position: relative;
}

.right-panel {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-header {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.content-header h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.content-header p {
    color: #6c757d;
    font-size: 1rem;
}

.info-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.1s;
}

.alert-box {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.alert-box h5 {
    color: #856404;
    margin-bottom: 10px;
    font-weight: 600;
}

.alert-box p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
}

.steps-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
}

.steps-section h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-request {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7f00 100%);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.btn-request::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-request:hover::before {
    left: 100%;
}

.btn-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 154, 60, 0.4);
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.support-info {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.3s;
}

.support-info p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.support-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.support-links a:hover {
    color: #ff7f00;
}

.footer {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .expired-content {
        grid-template-columns: 1fr;
    }

    .left-panel {
        padding: 40px 20px;
    }

    .left-panel h2 {
        font-size: 2rem;
    }

    .right-panel {
        padding: 40px 20px;
    }

    .content-header h3 {
        font-size: 1.5rem;
    }

    .expired-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .main-container {
        padding: 20px 0;
        margin: 30% 0;
    }

    .expired-card {
        margin: 0 15px;
    }

    .left-panel {
        padding: 30px 15px;
    }

    .right-panel {
        padding: 30px 15px;
    }
}

@media (min-width: 1200px) {
    .expired-card {
        max-width: 1000px;
    }

    .left-panel {
        padding: 80px 50px;
    }

    .right-panel {
        padding: 80px 50px;
    }
}