html {
    background: url('/assets/images/hero.webp') center center / cover no-repeat;
    height: 100vh;
    background: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

body {
    background: linear-gradient(0deg, rgba(13, 61, 3, 0) 21%, rgba(221, 199, 4, 0.891) 100%);
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: auto;
    /* Allows content scrolling */
}

.details-panel {
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    /* Adjust width as needed */
    max-width: 600px;
    /* Prevent excessive width */
    height: -webkit-fill-available;
    /* Adjust height dynamically */
    /* padding: 20px; */

    z-index: 9999;
    border-radius: 20px;
    background: rgb(38, 115, 22);
    background: radial-gradient(circle, rgba(240, 231, 60, 0.68) 33%, rgba(38, 115, 22, 0.78) 94%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
    display: none;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(0deg, rgba(13, 61, 3, 0) 21%, rgba(221, 199, 4, 0.8911939775910365) 100%); */
    z-index: 1;
}

.hero {
    position: relative;
    height: 150px;
    background-color: darkgreen;
    align-items: center;
    justify-content: center;
    margin: auto 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0;
}

.reg-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* max-width: 900px; */
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    z-index: 10;
    box-sizing: border-box;
}

#step1 {
    display: block;
    margin: 0 auto;
    /* max-width: 800px; */
    padding: 20px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 2rem;
}

.card-body {
    padding: 20px;
}

.form-group {
    margin-bottom: 15px;
    display: block;
}

label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form-control {
    border-radius: 10px;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    margin-bottom: 5px;
}


.form-control:focus {
    border-color: green;
    outline: none;
}

.lng-btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: green;
    /* Blue button */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.lng-btn:hover {
    background-color: darkgreen;
    /* Darker blue */
    transform: scale(1.05);
    /* Slightly enlarge on hover */
}

/* Active state */
.lng-btn:active {
    background-color: green;
    /* Even darker blue */
    transform: scale(0.95);
    /* Slightly shrink on click */
}

/* Focused state (for accessibility) */
.lng-btn:focus {
    outline: 2px solid greenyellow;
    /* Blue outline for focus */
    outline-offset: 2px;
}

.small {
    font-size: 12px;
    color: red;
    display: none;
}

/* .proform_btn:hover {
    background-color: #0056b3;
} */

#tnx_t {
    font-size: 28px;
    color: green;
    font-weight: 600;
    margin-top: 20px;
}

div>label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    font-weight: 400;
}

div>label input {
    margin-right: 10px;
    cursor: pointer;

}

#wmobileError,
#mobileError,
#emailError {
    font-size: 12px;
    color: red;
}

#btnsubmit {
    background-color: green;
    color: white;
    text-align: center;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;

}

#btnsubmit:hover {
    background-color: lightgreen;
}

.error-message {
    color: red;
    font-size: 10px;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none;
}


#okButton {
    border-radius: 5px;
    border: none;
    background-color: green;
    color: white;
    padding: 5px 10px 5px 10px;
}

.header {
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
    display: flex;
    padding: 40px;
}

.header .logo {
    max-width: 100px;
    height: auto;
}

.header h1 {
    font-size: 24px;
    margin: 0;
    text-align: center;
    flex-grow: 1;
    color: black;
}

@media (max-width: 1400px) {
    /* .header {
                display: flex;
                flex-direction: column;
                align-items: center;
                text-align: center;
            } */

    .header .logo {
        margin-bottom: 10px;
    }

    .header h1 {
        font-size: 22px;
    }

    .hero {
        height: 250px;
    }

    .details-panel {
        width: 60%;
    }

    select option {
        font-size: 12px !important;
    }

    .form-control {
        border-radius: 10px;
        width: 100%;
        padding: 10px;
        font-size: 12px;
        border: 1px solid #ccc;
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .header {
        display: block;
        text-align: center;
    }

    .header .logo {
        margin: 0 auto 10px;
    }

    .header h1 {
        font-size: 20px;
    }

    .hero {
        height: 200px;
    }

    .details-panel {
        width: 60%;
    }

    select option {
        font-size: 12px !important;
    }

    .form-control {
        border-radius: 10px;
        width: 100%;
        padding: 10px;
        font-size: 12px;
        border: 1px solid #ccc;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .details-panel {
        width: 90%;
    }

    .card-body {
        padding: 0px;
    }

    input::placeholder {
        font-size: 12px;
    }

    select option {
        font-size: 12px !important;
    }

    .form-control {
        border-radius: 10px;
        width: 100%;
        padding: 10px;
        font-size: 12px;
        border: 1px solid #ccc;
        margin-bottom: 5px;
    }

    /* #btnsubmit {
                display: flex;
                justify-content: center;
                text-align: center;
                width: 300px;
            } */


}

@media (max-width: 360px) {
    .details-panel {
        width: 90%;
    }

    .card-body {
        padding: 0px;
    }

    input::placeholder {
        font-size: 12px;
    }

    .form-control {
        border-radius: 10px;
        width: 100%;
        padding: 10px;
        font-size: 12px;
        border: 1px solid #ccc;
        margin-bottom: 5px;
    }

    /* #btnsubmit {
                display: flex;
                justify-content: center;
                text-align: center;
                width: 300px;
            } */

}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.custom-toast {
    min-width: 280px;
    max-width: 350px;
    padding: 14px 20px;
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-toast.success {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    border-left: 5px solid #00c853;
}

.custom-toast.error {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    border-left: 5px solid #d50000;
}

.custom-toast.warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    border-left: 5px solid #ffab00;
}

.custom-toast.info {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    border-left: 5px solid #00b0ff;
}