/* Authentication Page Styles */
:root {
    --primary-color: #51a776;    /* Dark blue - main brand color */
    --secondary-color: #314F4D;  /* Gold - accent color */
    --sidebar-bg-light: #ffffff;  /* White background */
    --sidebar-bg-dark: #ececf1;   /* Light gray background */
    --active-bg-dark: #51a776;    /* Primary blue for active items */
    --active-bg-light: #f5f5f5;   /* Light gray for active items */
    --hover-bg: #f5f5f5;          /* Whitesmoke for hover */
    --text-default: #314F4D;      /* Medium gray text */
    --text-icons: #314F4D;        /* Darker gray for icons */
    --text-active-dark: #ffffff;  /* White text on dark active */
    --text-active-light: #51a776; /* Primary blue text on light active */
    --text-hover: #51a776;        /* Very dark gray for hover */
    --button-primary: #51a776;    /* Teal for primary buttons */
}
.account-pages {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.accountbg {
    position: absolute;
    background-size: cover;
    height: 100%;
    width: 100%;
    top: 0;
}

/* .wrapper-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
} */

/* Left Side Card */
.account-page-left {
    left: 1%;
    bottom: 0;
    position: absolute;
    height: auto;
    margin: 0;
    width: 450px;
    background-color: transparent;
    display: block;
}

.account-page-left .card {
    border: none;
}

.account-page-left .account-box {
    background: transparent;
    border-radius: 8px;
    padding: 20px;
}

.account-page-left .card-box {
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 30px;
    background-color: transparent;
}

/* Right Side Card */
.account-page-full {
    right: 0;
    position: absolute;
    height: 100%;
    margin: 0;
    width: 450px;
    background-color: transparent;
}

.account-page-full .card {
    border: none;
}

.account-box {
    background: transparent;
    border-radius: 8px;
    padding: 20px;
}

.card-box {
    padding: 20px;
    border-radius: 3px;
    margin-bottom: 30px;
    background-color: transparent;
}

/* Text Muted */
.text-muted {
    color: #6c757d !important;
}

/* Text Center */
.text-center {
    text-align: center !important;
}

/* Form Elements */
.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.47rem 0.75rem;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #a8d4ff;
    outline: 0;
}

.form-control::placeholder {
    color: #adb5bd;
    opacity: 1;
}

.form-control.is-invalid {
    border-color: #f46a6a;
    padding-left: calc(1.5em + 0.94rem);
    background-repeat: no-repeat;
    background-position: left calc(0.375em + 0.235rem) center;
    background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #f46a6a;
}

.form-control.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-right: 1.5em;
    margin-bottom: 0.125rem;
}

.form-check .form-check-input {
    float: right;
    margin-right: -1.5em;
}

.form-check-input {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0,0,0,.25);
    appearance: none;
}

.form-check-input[type="checkbox"] {
    border-radius: 0.25em;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
}

.shadow {
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.03) !important;
}

.shadow-none {
    box-shadow: none !important;
}

.text-right {
    text-align: right !important;
}

.text-end {
    text-align: left !important;
}

/* RTL Support */
[dir="rtl"] .text-end {
    text-align: right !important;
}

/* Font Size Utilities */
.font-size-18 {
    font-size: 18px !important;
}

/* Width Utilities */
.w-md {
    min-width: 120px;
}

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.47rem 0.75rem;
    font-size: .875rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

/* Primary Button Styling - High Specificity Override */
.btn-check:checked + .btn.btn-primary,
.btn-check:active + .btn.btn-primary,
.btn.btn-primary:focus:not(.btn-active),
.btn.btn-primary:hover:not(.btn-active),
.btn.btn-primary:active:not(.btn-active),
.btn.btn-primary.active,
.btn.btn-primary.show,
.show > .btn.btn-primary,
.btn-primary {
    background-color: var(--button-primary) !important;
    border-color: var(--button-primary) !important;
    color: #fff !important;
}

.btn-check:checked + .btn.btn-primary:hover,
.btn-check:active + .btn.btn-primary:hover,
.btn.btn-primary:hover:not(.btn-active),
.btn-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-check:checked + .btn.btn-primary:focus,
.btn-check:active + .btn.btn-primary:focus,
.btn.btn-primary:focus:not(.btn-active),
.btn-primary:focus,
.btn-primary.focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 0 0 0.2rem rgba(81, 167, 118, 0.5) !important;
}

.btn-check:checked + .btn.btn-primary:active,
.btn-check:active + .btn.btn-primary:active,
.btn.btn-primary:active:not(.btn-active),
.btn.btn-primary.active,
.btn.btn-primary.show,
.show > .btn.btn-primary,
.btn-primary:active,
.btn-primary.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Spacing Utilities */
.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

@media (max-width: 576px) {
    .col-sm-6 {
        width: 100%;
    }
}

/* Waves Effect (placeholder for animation) */
.waves-effect {
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Left Card Feature Items */
/* .feature-item {
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.text-primary {
    color: var(--primary-color) !important;
} */


/* Responsive */
@media (max-width: 1475px) {
    /* Hide left side card on screens smaller than 1475px */
    .account-page-left {
        display: none !important;
    }
    
    .account-page-full {
        width: 100%;
        background-color: #CADFD0 !important;
    }
    
    .accountbg {
        display: none !important;
    }
    
    /* Hide logo on mobile screens */
    .account-box .text-center a img {
        visibility: visible !important;
    }
    
    /* Center login button on mobile screens */
    .text-end.login-button-container {
        text-align: center !important;
    }
}

