:root {
    --primary-color: #207D57;
    --input-bg-color: #f3f4f6;
    --text-color: #207D57;
    --secondary-text-color: #207D57;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    justify-content: center;
    align-items: center;
    padding-top: 20px;
}

a {
    text-decoration: none;
}
header.scrolled .header__top {
    display: none !important;
}
header#header {
    background: #fff;
}
.header--gradient .header__menu>.menu-item>.menu-link {
    color: #207D57;
}
img.logoFixed {
    display: block !important;
}
.header__main {
    padding-top: 20px !important;
    border-bottom: 1px solid #207D57;
}
.header__logo img.logoRelative {
    display: none;
}
.header.fixed .header__top {
    margin-top: 0px !important;
}

.login-container {
    margin: 200px auto 70px auto;
    width: 100%;
    max-width: 40%;
    background-color: var(--background-color);
    padding: 0;
}

.login-header {
    margin-bottom: 15px;
    padding: 0 15px;
}

.title {
    font-size: 2.8rem;
    color: #207D57;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1rem;
    color: #207D57;
    font-weight: 400;
}

.login-form {
    padding: 0 15px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 1rem;
    color: #207D57;
    margin-bottom: 8px;
    font-weight: 400;
}

.form-input {
    width: 100%;
    padding: 15px 15px;
    border: none;
    background-color: var(--input-bg-color);
    color: #207D57;
    font-size: 1rem;
    outline: none;
    transition: background-color 0.3s;
    height: 60px;
}

.form-input::after, .form-input::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.phone-input {
    border-bottom: 2px solid #207D57;
}
.password-input {
    border-bottom: 2px solid #207D57;
}


.password-group {
    margin-bottom: 20px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: calc(50%);
    transform: translateY(-50%);
    color: #207D57;
    cursor: pointer;
    width: 18px;
    height: 18px;
    z-index: 2;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
    padding: 0 2px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.checkbox-input {
    margin-right: 10px;
    accent-color: #207D57;
    width: 16px;
    height: 16px;
    position: relative;
    top: -1px;
}

.checkbox-label {
    color: #207D57;
    font-size: 0.95rem;
}

.forgot-password-link {
    color: #207D57;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-login {
    width: 100%;
    padding: 18px;
    background-color: #207D57;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    letter-spacing: 1px;
}

.btn-login:hover {
    background-color: #075836;
}

.separator-line-thick {
    border-bottom: 1px solid #207D57;
    width: calc(100% - 30px);
    margin: 30px auto 30px;
}

.register-section {
    text-align: center;
    margin-bottom: 30px;
}

.register-section p {
    color: #075836;
    font-size: 1rem;
}

.register-link {
    font-weight: 600;
}

.footer-stripe {
    height: 7px;
    width: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-color),
        var(--primary-color) 20px,
        #afe6ca 20px,
        #afe6ca 40px
    );
}

@media (max-width: 768px) {
    .login-container {
        margin: 150px auto 70px auto;
        max-width: 60%;
        background-color: var(--background-color);
        padding: 0;
    }
}

@media (max-width: 576px) {
    .login-container {
        margin: 110px auto 70px auto;
        max-width: 100%;
        background-color: var(--background-color);
        padding: 0;
    }
    .title {
        font-size: 1.8rem;
        color: #207D57;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .btn-login {
        padding: 12px;
    }
}
