/* ========================================
   Registration Page Styles - Царский Сон
   ======================================== */

/* ========================================
   Base Styles
   ======================================== */


/* ========================================
   Breadcrumbs
   ======================================== */
.breadcrumb-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-nav {
    padding: 1rem 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #C9A961;
}

.breadcrumb-current {
    color: #2E1500;
    font-size: 0.875rem;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    margin: 0 0.5rem;
    color: #d1d5db;
}

/* ========================================
   Registration Page Layout
   ======================================== */
.registration-page {
    min-height: calc(100vh - 60px);
    position: relative;
    background: linear-gradient(to bottom right, #FAF8F5, #FFF9F0, #F5F1EB);
    padding: 3rem 0;
    overflow: hidden;
}

.registration-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    pointer-events: none;
}

.registration-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.registration-bg-circle-1 {
    top: -10%;
    right: 10%;
    width: 30rem;
    height: 30rem;
    background: #C9A961;
}

.registration-bg-circle-2 {
    bottom: -10%;
    left: 10%;
    width: 25rem;
    height: 25rem;
    background: #A88B4D;
}

.registration-bg-circle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35rem;
    height: 35rem;
    background: #E5DCC8;
}

/* ========================================
   Registration Wrapper
   ======================================== */
.registration-wrapper {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

/* ========================================
   Registration Card
   ======================================== */
.registration-card {
    background: white;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(46, 21, 0, 0.08);
    padding: 2rem;
}

.registration-header {
    text-align: center;
    margin-bottom: 2rem;
}

.registration-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, #C9A961, #A88B4D);
    color: white;
    border-radius: 50%;
}

.registration-title {
    font-size: 2rem;
    color: #2E1500;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.registration-subtitle {
    color: #6b7280;
    font-size: 1rem;
}

/* ========================================
   Social Registration
   ======================================== */
.registration-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid #e5e7eb;
    background: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #C9A961;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-btn-google {
    color: #2E1500;
}

.social-btn-vk {
    background: linear-gradient(to right, #0077FF, #0088FF);
    color: white;
    border-color: #0077FF;
}

.social-btn-vk:hover {
    border-color: #0088FF;
}

/* ========================================
   Divider
   ======================================== */
.registration-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.registration-divider::before,
.registration-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.registration-divider span {
    padding: 0 1rem;
}

/* ========================================
   Form Styles
   ======================================== */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E1500;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-label svg {
    color: #A88B4D;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #2E1500;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    outline: none;
    border-color: #C9A961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

/* ========================================
   Password Field
   ======================================== */
.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #C9A961;
}

/* ========================================
   Benefits Section
   ======================================== */
.registration-benefits {
    background: linear-gradient(to bottom right, rgba(201, 169, 97, 0.05), rgba(168, 139, 77, 0.05));
    border: 1px solid rgba(201, 169, 97, 0.2);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2E1500;
    font-size: 0.9375rem;
}

.benefit-item svg {
    color: #C9A961;
    flex-shrink: 0;
}

/* ========================================
   Checkbox Styles
   ======================================== */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: #C9A961;
    flex-shrink: 0;
}

.form-checkbox label {
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-link {
    color: #C9A961;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.checkbox-link:hover {
    color: #A88B4D;
    text-decoration: underline;
}

/* ========================================
   Submit Button
   ======================================== */
.registration-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(to right, #C9A961, #A88B4D);
    color: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.registration-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.registration-btn:active {
    transform: translateY(0);
}

/* ========================================
   Footer Links
   ======================================== */
.registration-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.registration-footer p {
    color: #6b7280;
    font-size: 0.9375rem;
}

.registration-login-link {
    color: #C9A961;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.registration-login-link:hover {
    color: #A88B4D;
    text-decoration: underline;
}

/* ========================================
   Info Cards
   ======================================== */
.registration-info {
    display: none;
}

.info-card {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.info-card:hover {
    border-color: #C9A961;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-card-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom right, rgba(201, 169, 97, 0.1), rgba(168, 139, 77, 0.1));
    color: #C9A961;
    border-radius: 50%;
    border: 2px solid rgba(201, 169, 97, 0.2);
}

.info-card-title {
    font-size: 1.25rem;
    color: #2E1500;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-card-text {
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .registration-social {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .registration-page {
        padding: 4rem 0;
    }

    .registration-wrapper {
        grid-template-columns: 1fr 400px;
        gap: 3rem;
    }

    .registration-card {
        padding: 3rem;
    }

    .registration-info {
        display: block;
    }

    .info-card:last-child {
        margin-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .registration-card {
        padding: 3.5rem;
    }
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.registration-card {
    animation: fadeIn 0.6s ease;
}

.info-card {
    animation: fadeIn 0.6s ease;
}

.info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.info-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ========================================
   Form Validation States
   ======================================== */
.form-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-input:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.form-input:invalid:not(:placeholder-shown):focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input:valid:not(:placeholder-shown):focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
