/*Customisation of fonts and colours for the website*/
:root {
    --silver: #C7C9C9;
    --ecru: #C0B58E;
    --cambridge: #93A989;
    --hunter: #386939;
    --dark-green: #12341B;
}

.bg-lightgreen {
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F4F8F1 50%,
        #E5F0DF 100%
    );
}

.card-global {
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: auto;
    background-color: white;
}

main.main {
    padding-top: 11rem;
}

.footer-bg {
    background-color: white;
}
body {
    font-family: 'Montserrat', sans-serif;
}

footer .footer-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--hunter);
}

footer .footer-text {
    color: var(--hunter);
    font-size: 12px;
    margin-right: 2px;
    font-family: 'Inter', sans-serif;
    font-weight: normal;
}

.custom-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: white;
    text-align: center;
    background-color: var(--hunter);
    border-radius: 4px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-btn:hover {
    background-color: var(--dark-green);
    color: white;
}

.main-button {
    color: white;
    background-color: var(--hunter);
    font-size: 14px;
    border-radius: 4px;
    border: none;
    font-weight: normal;
    text-transform: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.main-button:hover {
    background-color: var(--dark-green);
    color: white;
}

.main-button-outline {
    color: var(--hunter);
    background-color: white;
    border-radius: 4px;
    border: 1px solid var(--hunter);
    font-weight: normal;
    text-transform: inherit;
}
.main-button-outline:hover {
    background-color: var(--hunter);
    color: white;
}

.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 95%;
    height: 8rem;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: var(--hunter);
}

.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    margin-right: 2rem;
    margin-left: 2rem;
}

/*Large Desktop*/
@media screen and (min-width: 1201px) {
    .navbar-brand {
        font-size: 30px;
    }
}

/*Tablet*/
@media screen and (max-width: 1200px) {
    .navbar-brand {
        font-size: 2rem;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }
}

/*Mobile*/
@media screen and (max-width: 601px) {
    .navbar-brand {
        font-size: 20px;
    }

    .navbar {
        height: auto;
    }

    .navbar-collapse {
        background: white;
        border-radius: 1rem;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
}

.card-link-text {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    color: var(--hunter);
}

h1 {
    font-family: 'Montserrat',sans-serif;
    font-weight: 900;
    font-size: 35px;
    color: var(--hunter);
    text-align: center;
    text-transform: uppercase;
    margin-top: 2rem;
}

h2 {
    font-size: 30px;
    color: white;
    font-family: 'Montserrat',sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

h3 {
    font-size: 26px;
    font-family: 'Montserrat',sans-serif;
    font-weight: bold;
}

p {
    font-size: 14px;
    font-family: 'Inter',sans-serif;
}

.personal-details-label {
    font-family: 'Inter',sans-serif;
    font-weight: normal;
    color: var(--hunter);
    font-size: 14px;
}

.form-label {
    font-family: 'Inter',sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark-green);
}

.form-check-label {
    font-family: 'Inter',sans-serif;
    font-weight: normal;
    font-size: 14px;
    color: var(--hunter);
}

.login-text {
    font-family: 'Inter',sans-serif;
    font-weight: normal;
    color: var(--hunter);
    text-decoration: underline;
    font-size:14px;
}

/*CSS FOR THE MODAL DIALOG*/
.custom-modal {
    border-radius: 16px;
    text-align: center;
    background-color: white;
}

.custom-modal .modal-title {
    padding: 15px;
    font-weight: bold;
    color: var(--hunter);
    width: 100%;
}

.custom-modal .modal-body {
    padding: 20px;
    color: black;
    text-align: center;
}

.custom-modal .modal-footer {
    padding:15px;
}

.custom-modal .modal-footer .btn-success {
    font-size: 14px;
}

.custom-modal .modal-footer .btn-secondary {
    font-size: 14px;
}

table {
    font-family: 'Inter',sans-serif;
}

th {
    font-size: 16px;
    color: var(--hunter);
}

td {
    font-size: 14px;
}

.loggedin-heading {
    font-size: 20px;
    margin: 0;
    font-weight: normal;
}

.reset-button {
    height: 38px;
}

.invoice-modal {
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.invoice-modal .modal-header {
    border-radius: 16px 16px 0 0;
    padding: 15px;
}
.invoice-modal h5 {
    color: var(--hunter);
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.invoice-modal h4 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 24px;
}

.invoice-modal .modal-body {
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.invoice-modal p {
    font-size: 14px;
    line-height: 1;
}

.login-image-wrapper {
    width: 100%;
    min-width: 100%;
    height: 580px;
    overflow: hidden;
    border-radius: 6px;
}

.register-image-wrapper {
    width: 100%;
    min-width: 100%;
    height: 780px;
    overflow: hidden;
    border-radius: 6px;
}

.login-image {
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.6;
}

.error-message {
    font-size: 12px;
}
