/* Import Google Font */
/* @import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap"); */
/* Basic reset and box-sizing */
h1, h2, h3 {
    color: #111827;
    line-height: 1.3;
}
h1 {
    font-size: 28px;
    margin-bottom: 20px;
}
@media screen and (max-width: 781px) {
    h1 {
        font-size: 24px;
    }
}
h2 {
    font-size: 22px;
    margin-bottom: 20px;
}
@media screen and (max-width: 781px) {
    h2 {
        font-size: 20px;
    }
}
h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 10px;
}
@media screen and (max-width: 781px) {
    h3 {
        font-size: 17px;
    }
}
label {
    display: block;
    margin-bottom: 0.2rem;
    color: #5f5f5f;
    font-weight: 500;
    font-size: 0.875rem;

    .required-asterisk {
        color: #cc2929;
    }
}
.text-gray {
    display: block;
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.5;
}
a {
    color: #3f51b5;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
input[type="text"],
input[type="number"],
input[type="email"],
input[type="date"],
input[type="password"] {
    width: 100%;
    height: 38px;
    padding: 6px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(152, 152, 152, 0.1);
    color: #555555;
    transition: border 0.1s ease-out;

    &.input-error,
    &.gstin-input-error {
        border: 1px solid #bf4242;
    }

    &.input-success {
        border: 1px solid #34D399;
    }
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="password"]:focus {
    outline: none;
    border: 1px solid #999999;

    &.input-error,
    &.gstin-input-error {
        border: 1px solid #bf4242;
    }
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}
input[type="submit"],
button {
    margin-top: 1.5rem !important;
    padding: 13px 25px;
    border-radius: 0.375rem;
    border: none;
    background: #f29231;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.1s ease-out;
}
input[type="submit"]:hover,
button:hover,
#pay-now-button:hover {
    background-color: #da7f22;
}
.checkbox {
    margin-top: 16px;

    label {
        position: relative;
        display: flex;
        align-items: start;
        gap: 8px;
        font-size: 12px;
        cursor: pointer;
    }

    input[type="checkbox"] {
        flex-shrink: 0;
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
        height: 16px;
        width: 16px;
        margin-top: 2px;
        border-radius: 3px;
        border: 1px solid #c5c5c5;
        background-color: #fff;
        background-size: 80%;
        background-position: center;
        background-repeat: no-repeat;

        &.checkbox-error {
            border: 1px solid #bf4242;
        }
    }

    input[type="checkbox"]:checked {
        background-color: #f29231;
        border-color: #f29231;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5' /%3E%3C/svg%3E%0A");
    }
}
.input-error-label,
.gstin-error-msg {
    position: absolute;
    bottom: -17px;
    left: 0;
    color: #bf4242;
    font-size: 11px;
}
.flatpickr-calendar {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#demat-app {
    /* font-family: "Roboto", sans-serif;
    background-color: #fff; */
    /* White background */
    color: #333;
    line-height: 1.6;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
        "Noto Color Emoji";
    /* Text styles */

    .container,
    &.container {
        max-width: 1480px;
        margin: 50px auto;
        padding: 0 4rem;
    }

    @media screen and (max-width: 1280px) {
        .container,
        &.container {
            padding: 0 3rem;
        }
    }

    @media screen and (max-width: 1100px) {
        .container,
        &.container {
            padding: 0 2rem;
        }
    }

    @media screen and (max-width: 599px) {
        .container,
        &.container {
            padding: 0 1rem;
        }
    }
}