/* ============================================================= */
/* public/css/styles.css - PROFESSIONAL DSAC 2026 VERSION        */
/* ============================================================= */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px 0;
}

/* ============================================================= */
/* MAIN CARD                                                     */
/* ============================================================= */
.main-card {
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #ddd;
}

/* Header Image */
.header-image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    object-position: top center;
}

/* Content Padding */
.content-padding {
    padding: 30px;
}

/* ============================================================= */
/* LOGIN & REGISTRATION                                          */
/* ============================================================= */
h6.text-center {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 25px 0;
}

.text-red { color: #c41e3a !important; font-weight: 600; }
.text-red u { text-decoration: underline; }

hr.new4 {
    height: 4px;
    border: none;
    background: linear-gradient(to right, #c41e3a, #ffb81c, #00a859, #00297a);
    border-radius: 2px;
    margin: 28px 0;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #162c6e);
    border: none;
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.3);
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.4);
}

/* Disclaimer */
.disclaimer-text {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #c41e3a;
    font-size: 0.92rem;
    color: #444;
    margin-top: 30px;
}

/* ============================================================= */
/* DASHBOARD                                                     */
/* ============================================================= */

/* Header */
.dashboard-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 35px 20px;
    text-align: center;
}
.dashboard-header h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 8px; }
.dashboard-header p { font-size: 1.15rem; opacity: 0.95; }

/* Welcome Banner */
.welcome-banner {
    background: #fff8e1;
    padding: 18px;
    text-align: center;
    border-bottom: 4px solid #ff9800;
    font-size: 1.1rem;
}
.welcome-banner strong { color: #1e3c72; }

/* Section Titles */
.dashboard-section { margin-bottom: 28px; }
.dashboard-section h4 {
    color: #1e3c72;
    font-weight: 700;
    border-bottom: 3px solid #ff9800;
    padding-bottom: 10px;
    margin-bottom: 18px;
    font-size: 1.35rem;
}

/* Application Cards */
.app-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 18px;
    transition: transform 0.2s;
}
.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.app-card .card-body { padding: 20px; }

/* Status Badges */
.status-badge {
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pending      { background: #fff3cd; color: #856404; }
.status-under-review { background: #d1ecf1; color: #0c5460; }
.status-approved     { background: #d4edda; color: #155724; }
.status-rejected     { background: #f8d7da; color: #721c24; }

/* No Applications Message */
.no-applications {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}
.no-applications h5 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #444;
}

/* Action Buttons */
.dashboard-actions {
    text-align: center;
    padding: 25px 0;
}
.btn-dashboard {
    padding: 14px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: bold;
    margin: 0 10px;
}
.btn-warning { background: #ff9800 !important; border: none !important; }
.btn-warning:hover { background: #e68900 !important; }
.btn-outline-danger {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}
.btn-outline-danger:hover { background: #dc3545 !important; color: white !important; }

/* PDF Download Button */
.pdf-download {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}
.pdf-download:hover {
    background: #e68900;
    transform: translateY(-3px);
}

/* Footer */
.dashboard-footer {
    background: #1e3c72;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.95rem;
}

/* ============================================================= */
/* RESPONSIVE                                                    */
/* ============================================================= */
@media (max-width: 768px) {
    .content-padding { padding: 20px; }
    .header-image { max-height: 180px; }
    .dashboard-header h1 { font-size: 2rem; }
    .app-card .card-body { padding: 20px; }
    .dashboard-actions .btn-dashboard {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
}
.text-center {
    text-align: center;
}

.center-info {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================= */
/* UNIFIED ROUNDED BUTTONS – MATCH PDF & STATUS BADGES */
/* ============================================================= */

/* Make the two main dashboard buttons look EXACTLY like the PDF download button */
.btn-dashboard {
    display: inline-block;
    padding: 14px 36px !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    border-radius: 50px !important;     /* ← SAME ROUNDNESS AS PDF BUTTON */
    text-decoration: none;
    margin: 12px 15px;
    min-width: 260px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Warning (orange) button – matches PDF button perfectly */
.btn-dashboard.btn-warning {
    background: #ff9800 !important;
    color: white !important;
    border: 2px solid #ff9800 !important;
}

.btn-dashboard.btn-warning:hover {
    background: #e68900 !important;
    border-color: #e68900 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

/* Logout button – red outline, becomes solid on hover */
.btn-dashboard.btn-outline-danger {
    background: transparent !important;
    color: #dc3545 !important;
    border: 2px solid #dc3545 !important;
}

.btn-dashboard.btn-outline-danger:hover {
    background: #dc3545 !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
}
/* ============================================================= */
/* BOOTSTRAP SELECTPICKER — PREMIUM DSAC 2026 STYLE (MATCHES PROCEED BUTTON) */
/* ============================================================= */

/* Main dropdown button — matches your orange Proceed button */
.bootstrap-select .dropdown-toggle {
    background: white !important;
    border: 2px solid #ff9800 !important;
    border-radius: 50px !important;
    padding: 14px 48px 14px 20px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #1e3c72 !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15) !important;
    transition: all 0.3s ease !important;
    height: auto !important;
}

.bootstrap-select .dropdown-toggle:hover,
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select.show > .dropdown-toggle {
    background: #fff8e1 !important;
    border-color: #e68900 !important;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.3) !important;
    transform: translateY(-2px);
    outline: none !important;
}

/* Arrow icon — orange */
.bootstrap-select .dropdown-toggle::after {
    border-top-color: #ff9800 !important;
}

/* Search input inside dropdown */
.bootstrap-select .bs-searchbox .form-control {
    border-radius: 30px;
    border: 1px solid #ff9800;
    padding: 10px 16px;
    margin: 8px;
}

/* Dropdown menu styling */
.bootstrap-select .dropdown-menu {
    border-radius: 16px !important;
    border: 2px solid #ff9800 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    margin-top: 8px !important;
    padding: 10px;
}

/* Each option */
.bootstrap-select .dropdown-item {
    padding: 10px 16px;
    border-radius: 12px;
    margin: 3px 6px;
    font-weight: 500;
}

.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:hover {
    background: #ff9800 !important;
    color: white !important;
}

/* Selected text in button */
.bootstrap-select .filter-option-inner-inner {
    color: #1e3c72 !important;
    font-weight: 600;
}