/* ============================================
   LOGIN PAGE - SPLIT SCREEN DESIGN
   ============================================ */

html,
body.login {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Numans', sans-serif;
    overflow: hidden;
}

body.login .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    height: 100%;
}

/* Login Container - Split Screen */
.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Left Hero Panel */
.login-hero {
    flex: 0 0 55%;
    position: relative;
    background-image: url('../images/backgrn.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 44, 59, 0.92) 0%, rgba(31, 32, 46, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 40px;
}

.hero-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.2rem;
    opacity: 0.85;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.hero-footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Right Form Panel */
.login-form-panel {
    flex: 0 0 45%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-form-header {
    margin-bottom: 35px;
}

.login-form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2b2c3b;
    margin-bottom: 8px;
}

.login-form-header p {
    color: #6b6b6b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Form Styling */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2b2c3b;
    margin-bottom: 8px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1rem;
    z-index: 1;
}

.login-form .form-control {
    height: 50px;
    padding: 12px 15px 12px 45px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    border-color: #007bff;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    outline: none;
}

.login-form .form-control.is-invalid {
    border-color: #dc3545;
}

.login-form .form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #007bff;
}

.password-toggle:focus {
    outline: none;
}

/* Custom Checkbox */
.form-check-wrapper {
    margin-top: 5px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6b6b6b;
    font-weight: 400;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox .checkmark {
    height: 20px;
    width: 20px;
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.custom-checkbox:hover .checkmark {
    border-color: #007bff;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-checkbox .checkmark:after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Login Button */
.btn-login {
    width: 100%;
    height: 50px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0069d9 0%, #004494 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login .btn-icon {
    transition: transform 0.2s ease;
}

.btn-login:hover .btn-icon {
    transform: translateX(5px);
}

/* Login Help Link */
.login-help {
    text-align: center;
    margin-top: 25px;
}

.login-help a {
    color: #6b6b6b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.login-help a:hover {
    color: #007bff;
}

/* Alert Styling */
.login-form-wrapper .alert {
    border-radius: 8px;
    margin-bottom: 25px;
    border: none;
    padding: 15px 20px;
}

.login-form-wrapper .alert-danger {
    background-color: #fff5f5;
    color: #dc3545;
}

/* Invalid Feedback */
.login-form .invalid-feedback {
    font-size: 0.8rem;
    margin-top: 5px;
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .login-hero {
        flex: 0 0 45%;
    }
    .login-form-panel {
        flex: 0 0 55%;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .login-container {
        flex-direction: column;
    }

    .login-hero {
        flex: 0 0 auto;
        min-height: 200px;
        padding: 30px 20px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero-logo {
        max-width: 100px;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .hero-footer {
        display: none;
    }

    .login-form-panel {
        flex: 1;
        padding: 30px 20px;
        overflow-y: auto;
    }

    .login-form-header h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   END LOGIN PAGE STYLES
   ============================================ */

.presscal.card {
    margin-top: 50px;
    /* margin-bottom: auto; */
    width: 1000px;
    box-shadow: -1px 2px 10px 1px rgba(58, 58, 58, 0.36);
    /*margin: 0 20px 20px 0; */
}

.card p,
.card h3 {
    margin-bottom: 0;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-80 {
    margin-top: 80px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-80 {
    margin-bottom: 80px !important;
}

small {
    font-size: 50%;
}

.bk-light {
    background-color: #f5f5f5;
}

/* General Label Styling */
.app-content label {
    margin-bottom: .2rem;
    font-size: 0.8em;
    color: #6b6b6b;
}

.toggle-password {
    cursor: pointer;
}

.bg-transparent {
    background-color: #0000002b!important;
}

/* Add styling to the "Add New" button */
.select2-container--default .select2-results__option--add-new {
    color: #fff; /* Change text color */
    background-color: #434b53; /* Change background color */
    padding: 8px; /* Add padding */
    font-weight: bold; /* Make text bold */
}

/* Add a divider line after the "Add New" button */
.select2-container--default .select2-results__option--add-new::after {
    content: '';
    display: block;
    height: 1px;
    background-color: #ddd; /* Divider color */
    margin: 8px 0; /* Adjust margin */
}