﻿:root {
    --color-accent-1: #3E7B27;
    --color-accent-1-rgb: 62, 123, 39;
    --color-white-bone: #F5F5F5;
    --bs-primary: #3E7B27;
    --bs-primary-rgb: 62, 123, 39;
    --second-primary: #85A947;
    --second-primary-rgb: 133, 169, 71;
    --third-primary: #123524;
    --third-primary-rgd: 18, 53, 36;
    --bs-light-primary: #E0F2FE;
    --bs-light: #0BA5EC;
    --bs-white-primary: #F0F9FF;
    --bs-secondary: #85A947;
    --bs-secondary-rgb: 133, 169, 71;
    --font-primary: 'Inter', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
}

.background-opacity-div {
    position: relative;
    width: 100%;
    height: auto;
}

    .background-opacity-div::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0.3;
        z-index: -1;
    }

.btn-outline-primary {
    --bs-btn-color: var(--bs-black);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--second-primary);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--bs-primary);
    --bs-gradient: none;
    background: #f1f1f1;
    border: none;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--third-primary);
    --bs-btn-active-border-color: var(--third-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--third-primary);
    --bs-btn-active-border-color: var(--third-primary);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}

/* BUTTON CLASSES */
.btn-google {
    color: #545454;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 1px #ddd;
}

    .btn-google:hover {
        background-color: #f1f1f1;
    }

/* FONT CLASSES */
.form-text-emphasis {
    margin-top: .25rem;
    font-size: 0.675em;
    color: var(--bs-secondary-color);
}

.fs-08 {
    font-size: 0.8rem !important;
}

.fs-14 {
    font-size: 14px;
}

/* ICON CLASSES */
.outer-circle {
    width: 100px;
    height: 100px;
    background-color: var(--bs-white-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-circle {
    width: 60px;
    height: 60px;
    background-color: var(--bs-light-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .inner-circle i {
        font-size: 24px;
        color: var(--bs-primary);
    }

/*One-time password*/
.form-control--otp {
    line-height: 2.5;
    height: 2.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: var(--bs-primary);
}

@media ( min-width: 375px ) {
    .form-control--otp {
        line-height: 3;
        height: 3rem;
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
    }
}

.input-group-seperator {
    width: 6rem;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    height: 0.3rem;
    background: #ced4da;
    border-radius: 0.1rem;
}

.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

a.text-primary {
    color: #007bff;
    text-decoration: underline;
}

    a.text-primary:hover {
        cursor: pointer;
    }

/* Register Modal*/
.user-type-option {
    display: none;
}

.user-type-card {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

    .user-type-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        background-color: rgb(var(--bs-primary-rgb), 0.05);
    }

.user-type-option:checked + .user-type-card {
    transform: translateY(0px);
    border: 2px solid var(--bs-primary);
    background-color: rgb(var(--bs-primary-rgb), 0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.user-type-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--bs-primary);
}

.user-type-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--bs-primary);
}

.user-type-desc {
    font-size: 0.9rem;
    color: #6c757d;
}

.selectable-card {
    position: relative;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 15px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .selectable-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
    }


.profile-img {
    height: 200px;
    object-fit: contain;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.selected-checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background-color: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 10;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.btn-check:checked + .selectable-card {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0.5rem 1rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

    .btn-check:checked + .selectable-card .selected-checkmark {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
