/* ============================================
   AUTH COMPONENT (Блок авторизации)
   Строгий корпоративный стиль
   ============================================ */

.auth-component .auth-block {
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    padding: 0;
    position: sticky;
    top: 20px;
    box-shadow: none;
    overflow: hidden;
}

.auth-component .auth-header {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #d0d0d0;
    padding-bottom: 0;
    background-color: #f8f8f8;
    border-radius: 0;
    overflow: hidden;
}

.auth-component .btn-login-tab,
.auth-component .btn-register-tab {
    flex: 1;
    padding: 12px 16px;
    background-color: transparent;
    border: none;
    color: #666666;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
}

.auth-component .btn-login-tab:hover,
.auth-component .btn-register-tab:hover {
    color: #1a1a1a;
    background-color: #f0f0f0;
}

.auth-component .btn-login-tab.active {
    background-color: #ffffff;
    color: #1a1a1a;
    font-weight: 700;
}

.auth-component .btn-register-tab.active {
    background-color: #ffffff;
    color: #1a1a1a;
    font-weight: 700;
}

.auth-component .auth-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px;
}

.auth-component .form-group {
    position: relative;
    margin-bottom: 16px;
}

.auth-component .form-group:last-of-type {
    margin-bottom: 0;
}

.auth-component .form-input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    color: #1a1a1a;
    font-size: 13px;
    line-height: 1.4;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-component .form-input::placeholder {
    color: #808080;
    font-weight: 400;
}

.auth-component .form-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: none;
}

.auth-component .form-input:hover:not(:focus) {
    border-color: #b0b0b0;
}

.auth-component .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    pointer-events: none;
    font-size: 14px;
    z-index: 10;
    transition: color 0.2s ease;
    line-height: 1;
    display: block;
    width: 14px;
    height: 14px;
    text-align: center;
}

.auth-component .form-group:focus-within .input-icon {
    color: #1a1a1a;
}

.auth-component .btn-submit {
    width: 100%;
    padding: 12px 20px;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.auth-component .btn-submit:hover {
    background-color: #4a4a4a;
    border-color: #4a4a4a;
    transform: none;
    box-shadow: none;
}

.auth-component .btn-submit:active {
    transform: none;
    background-color: #333333;
    box-shadow: none;
}

.auth-component .btn-submit i {
    font-size: 14px;
    color: #ffffff;
}

.auth-component .btn-submit span {
    font-weight: 700;
}

.auth-component .auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    gap: 12px;
}

.auth-component .auth-divider .divider-line {
    flex: 1;
    height: 1px;
    background-color: #d0d0d0;
}

.auth-component .auth-divider .divider-text {
    color: #808080;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-component .auth-link-btn {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #1a1a1a;
    background-color: transparent;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    margin-top: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-component .auth-link-btn:hover {
    color: #1a1a1a;
    background-color: #f8f8f8;
    border-color: #1a1a1a;
    border-width: 1px;
}

.auth-component .auth-link-btn:active {
    border-color: #1a1a1a;
    background-color: #f0f0f0;
}

.auth-component .auth-link-btn i {
    font-size: 12px;
    color: inherit;
}
