.client-login{
    background: #f0f4f8;
}
.client-login-container {
    padding: 75px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 872px;
    justify-content: center;^
    align-items: flex-start;
}
.client-login .about-card-home{
    display: none;
    padding: 20px 40px;
    width: 100%;
}
.client-login .about-card-home--active{
    display: block;
}
.client-login .about-card-home .home-img{
    min-height: 180px;
    max-height: 260px;
    transform: rotate(-4deg);
    bottom: -80px;
}
.clientLogin{
    border-radius: 10px;
    padding: 15px 20px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #fff;
    background: #00b129;
}
.client-login-btn-send:not([disabled]){
    background: #00b129;
    color: #ffffff;
}
.client-login .about-card-home .about-card-home-title{
    width: 100%;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    color: #fff;
    margin-bottom: 20px;
}
.client-login .about-card-home .about-card-home-subtitle{
    max-width: 400px;
}

.client-login-card {
    width: 100%;
    max-width: 872px;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.client-login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.client-login-tabs {
    display: flex;
    align-items: center;
    padding: 10px;
}

.client-login-tab {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    line-height: 1em;
    text-decoration: none;
    padding: 15px 10px;
    border: 1px solid var(--green);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    border-radius: 10px 0 0 10px;
}
.client-login-tab:nth-child(2){
    border-radius: 0 10px 10px 0;
}

.client-login-tab--active {
    background: var(--green);
    color: #fff;
}

.client-login-tab:not(.client-login-tab--active) {
    color: rgba(0, 0, 0, 0.3);
}

.client-login-tab:not(.client-login-tab--active):hover {
    color: var(--green);
}

.client-login-title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: #000000;
    text-align: center;
    margin: 0;
}

.client-login-panel {
    display: none;
    width: 100%;
    max-width: 424px;
}
.client-login-panel--active {
    display: block;
}

.client-login-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 424px;
}

.client-login-error {
    color: #c00;
    font-size: 14px;
}

.client-login-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.client-login-label {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    line-height: 1em;
    color: #000000;
}

.client-login-phone-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 5px 10px 20px;
    background: var(--bg);
    border-radius: 10px;
    height: 42px;
    box-sizing: border-box;
}

.client-login-input {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #000000;
    background: transparent;
    border: none;
    outline: none;
    flex: 1;
    min-width: 0;
}

.client-login-input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.client-login-input--phone {
    padding: 0;
}

.client-login-input:not(.client-login-input--phone) {
    width: 100%;
    padding: 10px 20px;
    background: var(--bg);
    border-radius: 10px;
    height: 42px;
    box-sizing: border-box;
}

.client-login-btn-send {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    line-height: 1em;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.client-login-btn-send:hover {
    background: rgba(0, 0, 0, 0.45);
}

.client-login-register {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 14px;
    line-height: 1em;
    color: var(--green);
    margin: 0;
}

.client-login-register a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.client-login-register a:hover {
    opacity: 0.85;
}

@media (max-width: 560px) {
    .client-login-phone-row {
        flex-wrap: wrap;
        height: auto;
        min-height: 42px;
        padding: 10px 15px;
    }

    .client-login-btn-send {
        width: 100%;
    }

    .client-login-tab--active {
        width: auto;
        min-width: 120px;
    }
}
