.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    height: 600px;
}

.auth-card-centered {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    width: 100%;
    max-width: 600px;
    padding: 60px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.signup-step {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
}

.signup-step.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Custom File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

#photoInput {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    width: 100%;
}

.file-upload-label:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 172, 47, 0.05);
}

.file-upload-label svg {
    color: var(--accent-color);
}

@media (max-width: 991.98px) {
    .auth-card {
        flex-direction: column;
        max-width: 100%;
        border: none;
        border-radius: 0;
        min-height: 100vh;
        background-color: var(--bg-dark);
    }

    .auth-container {
        padding: 0;
    }

    .auth-form-side {
        padding: 40px 24px;
        flex: 1;
        width: 100%;
    }

    .auth-image-side {
        display: none !important;
    }
}

.auth-form-side {
    padding: 60px;
    flex: 0 0 50%;
    /* Ровно 50% */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-image-side {
    flex: 0 0 50%;
    /* Ровно 50% */
    background-color: #1a1a1e;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--border-color);
    position: relative;
    /* Для абсолютного позиционирования картинки */
    overflow: hidden;
}

.auth-image-side img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-image-placeholder {
    width: 100%;
    height: 100%;
}

.auth-logo {
    margin-bottom: 32px;
}

.auth-logo img {
    height: 30px;
    width: auto;
}

.auth-header {
    text-align: left;
    margin-bottom: 24px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}