/* Dashboard Specific Styles */
.dashboard-container {
    min-height: calc(100vh - 120px);
}

.welcome-section {
    background: linear-gradient(135deg, var(--applicant-primary-dark) 0%, var(--applicant-primary) 100%);
    border-radius: 16px;
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(36, 63, 129, 0.3);
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.welcome-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.welcome-content {
    position: relative;
    z-index: 1;
}

.welcome-icon {
    font-size: 48px;
    opacity: 0.3;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.welcome-subtitle {
    font-size: 14px;
    opacity: 0.9;
}

/* Stats Cards */
.stats-card-modern {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stats-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stats-card-modern .stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.stats-card-modern .stats-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin: 30px 0;
}

.stats-card-modern .stats-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Application Cards */
.application-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.application-card .card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px auto 16px;
    font-size: 36px;
}

.application-card .card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #2c3e50;
}

.application-card .card-subtitle {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 20px;
}

.application-card .btn {
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.application-card .btn:hover {
    transform: scale(1.05);
}

/* Ongoing Application Card - Enhanced Design */
.ongoing-application-card {
    /* border: 2px solid var(--primary-gold) !important; */
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(65, 65, 65, 0.15);
    position: relative;
}

.ongoing-application-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold-dark), #ffecb3);
}

.ongoing-application-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.25);
}

.ongoing-application-card .card-header-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #d39e00;
    margin-bottom: 16px;
}

.ongoing-application-card .protocol-number {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.ongoing-application-card .study-title {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ongoing-application-card .status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ongoing-application-card .progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ongoing-application-card .progress-label {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
}

.ongoing-application-card .progress-step {
    font-size: 12px;
    color: #adb5bd;
    font-weight: 500;
}

.ongoing-application-card .progress {
    height: 10px;
    border-radius: 10px;
    background-color: #e9ecef;
    overflow: hidden;
}

.ongoing-application-card .progress-bar {
    background: linear-gradient(90deg, #28a745, #34ce57);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.ongoing-application-card .last-updated {
    font-size: 13px;
    color: #6c757d;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.ongoing-application-card .last-updated i {
    color: #ffc107;
}

.ongoing-application-card .continue-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ongoing-application-card .continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.section-header .section-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 16px;
    background: linear-gradient(135deg, var(--applicant-primary-dark) 0%, var(--applicant-primary) 100%);
    color: white;
}

.section-header h4 {
    margin: 0;
    font-weight: 700;
    color: #2c3e50;
}

.section-header p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

/* Quick Link Cards */
.quick-link-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.quick-link-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--royal-blue);
}

.quick-link-card h5 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.quick-link-card p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Alert Styling */
.alert-custom {
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.alert-custom .alert-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-in-up:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in-up:nth-child(4) {
    animation-delay: 0.4s;
}