.web-main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    background: #fff;
    margin: 0 auto;
    min-height: 100dvh;
    padding: 0;
}

/* CSS Rebalance Start */
input,
textarea,
button,
select,
a {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    outline: none;
}

input[type="submit"],
input[type="button"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="week"],
input[type="month"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media screen and (max-width: 768px) {

    input,
    textarea,
    select {
        font-size: 16px;
    }
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

input[type="search"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 5px;
    position: relative;
    top: 3px;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
    background-color: #214d26;
    border-color: #214d26;
}

input[type="radio"] {
    border-radius: 50%;
}

input::placeholder,
textarea::placeholder {
    color: #999;
    opacity: 1;
}

input[type="file"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #f4f4f4;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: 1px solid #ccc;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="password"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="email"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


input[type="url"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="tel"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

input[type="search"]::-webkit-search-results-button {
    -webkit-appearance: none;
    appearance: none;
}

input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
}
/* CSS Rebalance End */

/* Login Start */
.login-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 40px 68px 40px;
    background: rgba(58, 44, 30, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    border: solid 2px #4a3c2a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    overflow: hidden;
    transition: all 0.4s ease;
    background-image:
        radial-gradient(at 25% 30%, rgba(74, 60, 42, 0.3) 0%, transparent 40%),
        radial-gradient(at 75% 70%, rgba(33, 77, 38, 0.3) 0%, transparent 50%);
}

.login-container:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.login-cursor-follower {
    position: fixed;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle,
            rgba(74, 60, 42, 0.4) 0%,
            rgba(33, 77, 38, 0.4) 50%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.15s ease;
    mix-blend-mode: overlay;
}

.login-light-effect {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle,
            rgba(74, 60, 42, 0.2) 0%,
            rgba(33, 77, 38, 0.2) 45%,
            transparent 70%);
    border-radius: 50%;
    z-index: -1;
    top: 26%;
    transition: transform 0.5s ease-out;
}

.login-light-effect:nth-child(2) {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle,
            rgba(33, 77, 38, 0.3) 0%,
            rgba(74, 60, 42, 0.3) 50%,
            transparent 70%);
    top: 15%;
}

.login-container h2 {
    margin-bottom: 15px;
    color: #3a2c1e;
    font-size: 26px;
}

.login-container .login-icon {
    margin-top: 10px;
    justify-content: center;
    text-align: center;
}

.login-container .login-icon img {
    width: 140px;
    background: white;
    margin-bottom: 5px;
    border-radius: 50%;
    border: solid 4px #19461e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-container form .unp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.login-container form .unp label {
    width: 50px;
    height: 50.5px;
    text-align: center;
    border: solid 2px #4a3c2a;
    padding: 10.5px;
    margin-right: 5px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 19px;
    color: #3a2c1e;
}

.unp label i {
    font-size: 18px;
}

.login-container form .unp input {
    height: 50.5px;
    padding: 12.5px;
    flex: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: solid 2px #4a3c2a;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-container form .unp input::placeholder {
    color: #3a2c1e;
    opacity: 0.7;
}

.login-container form .unp input:focus {
    border-color: #214d26;
    box-shadow: 0 0 8px rgba(33, 77, 38, 0.3);
}

.login-container form .unp button {
    flex: 1;
    width: 100%;
    padding: 9px 12px;
    background: #3a2c1e;
    color: #fff;
    margin: 0;
    margin-bottom: 15px;
    border-radius: 10px;
    border: solid 2px rgba(74, 60, 42, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.2s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.login-container form .unp button:hover {
    background: #214d26;
    transform: translateY(-2px);
}

.error-message {
    text-align: center;
    margin-top: 5px;
    color: #b53531;
    font-style: italic;
    margin-bottom: -24px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.error-message.hidden {
    opacity: 0;
    pointer-events: none;
    display: block !important;
    margin-bottom: -24px;
}

@media (max-width : 768px) {
    .login-container {
        width: 100%;
        height: 100dvh;
        max-width: none;
        border-radius: 0;
        padding: 24px 18px;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .login-container .login-icon {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .login-container .login-icon img {
        width: 130px;
    }

    .login-container h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .login-container form .unp {
        margin: 15px 0;
    }

    .error-message {
        margin-top: -12px;
        margin-bottom: -12px;
    }

    .error-message.hidden {
        margin-top: -12px;
        margin-bottom: -12px;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        opacity: 0.5;
    }
}

@keyframes lightPulse {
    0% {
        transform: translate(var(--tx), var(--ty)) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(var(--tx), var(--ty)) scale(1.05);
        opacity: 0.9;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(1);
        opacity: 0.7;
    }
}

.login-light-effect.light-effect-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
            rgba(74, 60, 42, 0.3) 0%,
            rgba(33, 77, 38, 0.3) 45%,
            transparent 70%);
    top: 20%;
    mix-blend-mode: overlay;
    animation: lightPulse 8s infinite ease-in-out;

    --tx: $ {
        animationPositions.light3.x
    }

    px;

    --ty: $ {
        animationPositions.light3.y
    }

    px;
}
/* Login End */

@media (max-width: 768px) {
    .web-main {
        width: 100%;
        background: #fff;
        margin: 0 auto;
        padding: 0;
        min-height: calc(100dvh - 65px);
    }
}