﻿/* Root Variables for Color Scheme */
:root {
    --bg-color-white: #FFFDF5;
    --bg-color-green: #D8E9CB;
    --main-green: #235B48;
    --main-gold: #CFAC28;
    --green: #24831C;
    --blue: #287ECF;
    --red: #E01414;
    --gray: #757575;
}

/* General HTML & Body Styles */
html, body {
    height: 100%;
    margin: 0;
    background: var(--bg-color-white);
    font-family: 'Poppins', sans-serif;
}

/* Background Colors */
.bg-white {
    background: var(--bg-color-white);
}

.bg-green {
    background: var(--main-green);
}

.main-header, .sub-header, .form-label {
    color: var(--main-gold);
}

/* Typography */
.main-header {
    font-family: 'Sedan', sans-serif;
    font-size: 2.5rem;
}

.sub-header {
    font-family: 'Sedan', sans-serif;
    font-size: 1rem;
}

.text {
    font-family: 'Sedan', sans-serif;
}

/* Button Styles */
.btn-gold {
    background-color: var(--main-gold);
    border-color: var(--main-gold);
    color: white;
    font-size: 13px;
    padding: 5px 15px;
    border-radius: 0.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s;
    display: inline-block;
}

    .btn-gold:hover {
        background-color: #b99825;
        border-color: #b99825;
        text-decoration: none;
    }

    .btn-gold:active, .btn-gold:focus {
        background-color: #b99825;
        border-color: #b99825;
        box-shadow: 0 0 0 0.2rem rgba(207, 172, 40, 0.5);
    }

    .btn-gold:disabled {
        background-color: #e0e0e0;
        border-color: #e0e0e0;
        color: #6c757d;
        cursor: not-allowed;
        box-shadow: none;
    }

.custom-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--main-gold);
    border-radius: 0;
    color: white !important;
    outline: none;
}

    .custom-input::placeholder {
        color: var(--main-gold);
        font-weight: 300;
        opacity: 0.8;
    }

    .custom-input:focus {
        background: transparent;
        border-bottom-color: var(--main-gold);
        box-shadow: 0 1px 0 0 var(--main-gold);
        outline: none;
    }

/* Media Queries for Responsive Design */

/* Mobile Screens (up to 767px) */
@media (max-width: 767px) {
    html, body {
        font-size: 14px;
    }

    .row.m-0 {
        flex-direction: column;
        height: auto;
    }

    .col-6 {
        width: 100%;
        margin-bottom: 20px;
    }

    .bg-white {
        padding: 20px;
    }

    .bg-green {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-control {
        width: 100%;
        padding: 8px;
        font-size: 14px;
        height: 35px;
    }

    .btn-gold {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }

    .main-header {
        font-size: 1.8rem;
    }

    .sub-header {
        font-size: 0.85rem;
    }
}

/* Tablet Screens (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .row.m-0 {
        flex-direction: row;
    }

    .col-6 {
        width: 50%;
        padding: 10px;
    }

    .bg-white {
        padding: 30px;
    }

    .bg-green {
        padding: 30px;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-control {
        padding: 10px;
        font-size: 14px;
        height: 40px;
    }

    .btn-gold {
        padding: 10px 20px;
    }

    .main-header {
        font-size: 2rem;
    }

    .sub-header {
        font-size: 0.95rem;
    }
}

/* Large Desktop Screens (1025px and up) */
@media (min-width: 1025px) {
    .row.m-0 {
        display: flex;
        justify-content: space-between;
        height: 100vh;
    }

    .col-6 {
        width: 48%;
    }

    .bg-white {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bg-green {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-control {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        height: 40px;
    }

    .btn-gold {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
    }

    .main-header {
        font-size: 2.5rem;
    }

    .sub-header {
        font-size: 1rem;
    }

    /* Make form 65% width of the screen */
    .col-6.bg-green form {
        width: 65%;
        max-width: 900px;
        margin: 0 auto;
    }
}
