/* Custom Styles for FH UMSB Internship Registration System */
:root {
    --primary-color: #0b6623; /* UMSB Muhammadiyah Green */
    --primary-dark: #084d1a;
    --primary-light: #e8f5e9;
    --accent-color: #f5b041; /* Amber/Gold */
    --accent-dark: #d58c1f;
    --text-dark: #2c3e50;
    --text-light: #f8f9fa;
    --bg-light: #f4f6f9;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Outfit', 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Navbar Branding */
.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand-custom img {
    height: 50px;
    width: auto;
}

.brand-title {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.brand-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Landing/Registration Page Layout */
.registration-container {
    max-width: 900px;
    margin: 40px auto;
}

.card-registration {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #ffffff;
}

.card-registration .card-header-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.card-registration .card-body {
    padding: 40px;
}

/* Forms */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.form-control, .form-select {
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(11, 102, 35, 0.15);
}

.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
    cursor: not-allowed;
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(11, 102, 35, 0.2);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #111;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(245, 176, 65, 0.2);
}

/* Verification Section */
.verification-box {
    background: var(--primary-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

/* Footer styling */
footer {
    margin-top: auto;
    background-color: #222;
    color: #aaa;
    padding: 20px 0;
    font-size: 0.9rem;
    border-top: 3px solid var(--primary-color);
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Alert modifications */
.swal2-styled.swal2-confirm {
    background-color: var(--primary-color) !important;
}

/* File Upload styling */
.custom-file-upload {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

/* Admin Custom Sidebar & Styles */
.admin-sidebar {
    background-color: #1c2833 !important;
}

.admin-sidebar .nav-link.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.admin-header {
    border-top: 4px solid var(--primary-color);
}

.info-box-icon-custom {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.text-primary-custom {
    color: var(--primary-color);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.cursor-pointer {
    cursor: pointer;
}

/* Custom styles for Address Cascade Selectors */
.address-item {
    transition: background-color 0.2s ease;
    user-select: none;
}
.address-item:hover {
    background-color: #f1f8e9;
}
.address-item.active {
    background-color: #e8f5e9;
    font-weight: 600;
}
.address-item .form-check-input:checked + .form-check-label {
    color: var(--primary-dark);
}
/* Scrollbar styling for Address lists */
#list-kabupaten::-webkit-scrollbar,
#list-kecamatan::-webkit-scrollbar,
#list-kelurahan::-webkit-scrollbar {
    width: 6px;
}
#list-kabupaten::-webkit-scrollbar-track,
#list-kecamatan::-webkit-scrollbar-track,
#list-kelurahan::-webkit-scrollbar-track {
    background: #f1f1f1;
}
#list-kabupaten::-webkit-scrollbar-thumb,
#list-kecamatan::-webkit-scrollbar-thumb,
#list-kelurahan::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
#list-kabupaten::-webkit-scrollbar-thumb:hover,
#list-kecamatan::-webkit-scrollbar-thumb:hover,
#list-kelurahan::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

