

/* Start:/local/components/konsultante.sutochno/registration/templates/.default/style.css?178951435915208*/
/* ========================================
   PHOENIX REGISTRATION COMPONENT STYLES
   ======================================== */

.phoenix-registration {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.reg-container {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 48px;
    width: 100%;
    max-width: 480px;
}

/* Header */
.reg-header {
    text-align: center;
    margin-bottom: 32px;
}

.reg-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.reg-subtitle {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

/* Alerts */
.reg-alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reg-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.reg-alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Steps */
.reg-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.reg-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity 0.3s;
}

.reg-step.active,
.reg-step.completed {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.reg-step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.reg-step.completed .step-number {
    background: #10b981;
    color: #fff;
}

.reg-step.completed .step-number::before {
    content: '✓';
}

.step-title {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Form */
.reg-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.reg-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reg-form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.reg-form-group label .required {
    color: #ef4444;
}

.reg-form-group input[type="text"],
.reg-form-group input[type="email"],
.reg-form-group input[type="tel"],
.reg-form-group input[type="password"] {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s;
    outline: none;
}

.reg-form-group input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.reg-hint {
    font-size: 12px;
    color: #9ca3af;
}

/* Phone input */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.phone-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.phone-prefix {
    padding: 14px 12px 14px 16px;
    background: #f9fafb;
    color: #374151;
    font-weight: 500;
    font-size: 16px;
    border-right: 1px solid #e5e7eb;
}

.phone-input-wrapper input {
    flex: 1;
    padding: 14px 16px;
    border: none !important;
    font-size: 16px;
    outline: none;
    box-shadow: none !important;
}

/* Code input */
.code-input-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.code-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s;
    outline: none;
}

.code-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Phone display */
.reg-phone-display {
    text-align: center;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 8px;
}

.reg-phone-display span {
    color: #6b7280;
    font-size: 14px;
}

.reg-phone-display strong {
    display: block;
    font-size: 18px;
    color: #1a1a2e;
    margin: 4px 0;
}

/* Resend */
.reg-resend {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

/* Buttons */
.reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.reg-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.reg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
}

.reg-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.reg-btn-full {
    width: 100%;
}

.reg-link {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
}

.reg-link:hover {
    color: #764ba2;
}

/* Divider */
.reg-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #9ca3af;
    font-size: 14px;
}

.reg-divider::before,
.reg-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Social login */
.reg-social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reg-btn-social {
    background: #fff;
    border: 2px solid #e5e7eb;
    color: #374151;
}

.reg-btn-social:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.reg-btn-vk:hover {
    border-color: #4a76a8;
    color: #4a76a8;
}

.reg-btn-yandex:hover {
    border-color: #fc3f1d;
    color: #fc3f1d;
}

/* Checkbox */
.reg-checkbox-group {
    margin-top: 8px;
}

.reg-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

.reg-checkbox input {
    display: none;
}

.reg-checkbox .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
}

.reg-checkbox input:checked + .checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.reg-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.reg-checkbox a {
    color: #667eea;
    text-decoration: none;
}

.reg-checkbox a:hover {
    text-decoration: underline;
}

/* Legal fields */
.reg-legal-fields {
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-top: -8px;
}

/* Authorized */
.reg-authorized {
    text-align: center;
    padding: 40px 0;
}

.reg-authorized i {
    font-size: 64px;
    color: #10b981;
    margin-bottom: 16px;
}

.reg-authorized p {
    font-size: 18px;
    color: #374151;
    margin-bottom: 24px;
}

/* Footer */
.reg-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.reg-footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.reg-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.reg-footer a:hover {
    text-decoration: underline;
}

/* Method tabs */
.reg-method-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px;
    background: #f3f4f6;
    border-radius: 12px;
}

.reg-method-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.reg-method-tab:hover {
    color: #374151;
}

.reg-method-tab.active {
    background: #fff;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reg-method-tab i {
    font-size: 16px;
}

/* Email mode toggle */
.reg-email-mode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
    margin-top: -8px;
}

/* Responsive */
@media (max-width: 540px) {
    .phoenix-registration {
        padding: 20px 16px;
    }
    
    .reg-container {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .reg-header h1 {
        font-size: 24px;
    }
    
    .reg-form-row {
        grid-template-columns: 1fr;
    }
    
    .code-input {
        width: 48px;
        height: 56px;
        font-size: 20px;
    }
    
    .reg-steps {
        gap: 16px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* Auth screens are standalone tasks, not Phoenix modal overlays. */
body:has(.phoenix-registration) header,body:has(.phoenix-registration) footer,body:has(.phoenix-registration) .open-menu-mobile,body:has(.phoenix-registration) [class*="install-app"]{display:none!important}
body:has(.phoenix-registration) #phoenix-container,body:has(.phoenix-registration) #content{min-height:0!important;background:transparent!important}
.phoenix-registration{--reg-ink:#14213d;--reg-muted:#64748b;--reg-line:#dbe4f0;--reg-accent:#315eea;position:relative;min-height:100vh;isolation:isolate;overflow:hidden;padding:32px 20px 48px;background:linear-gradient(135deg,#edf4ff 0%,#f9f7ff 48%,#e7eeff 100%)}
.phoenix-registration::before,.phoenix-registration::after{content:'';position:absolute;z-index:-1;width:38rem;height:38rem;border-radius:50%;filter:blur(3px);opacity:.48}.phoenix-registration::before{background:#b8ccff;top:-19rem;left:-14rem}.phoenix-registration::after{background:#d6bfff;right:-17rem;bottom:-22rem}
.reg-shell{width:min(100%,520px);margin:0 auto}.reg-brand{display:inline-flex;align-items:baseline;gap:2px;color:var(--reg-ink);font-size:25px;font-weight:800;letter-spacing:-1.2px;text-decoration:none}.reg-brand span{color:var(--reg-accent)}.reg-back{float:right;margin-top:8px;color:#40506c;font-size:14px;font-weight:600;text-decoration:none}.reg-back:hover{color:var(--reg-accent)}
.reg-container{clear:both;margin-top:28px;max-width:none;padding:38px;border:1px solid rgba(255,255,255,.92);border-radius:28px;box-shadow:0 24px 65px rgba(38,62,112,.16)}.reg-header{margin-bottom:26px}.reg-eyebrow{display:block;margin-bottom:9px;color:var(--reg-accent);font-size:11px;font-weight:800;letter-spacing:.12em}.reg-header h1{color:var(--reg-ink);font-size:clamp(26px,5vw,34px);letter-spacing:-.8px}.reg-subtitle,.reg-hint,.step-title{color:var(--reg-muted)}
.reg-steps{justify-content:space-between;gap:0;position:relative;margin:0 8px 30px}.reg-steps::before{content:'';position:absolute;left:18px;right:18px;top:18px;height:2px;background:var(--reg-line);z-index:0}.reg-step{z-index:1;gap:7px;background:#fff;padding:0 4px}.step-number{border:2px solid var(--reg-line);background:#fff;color:#71809a}.reg-step.active .step-number{background:var(--reg-accent);box-shadow:0 0 0 5px #e8efff}.reg-step.completed .step-number{background:#179b78}
.reg-method-tabs{padding:5px;border:1px solid #e6ebf3;background:#f4f6fa;border-radius:14px}.reg-method-tab{min-height:44px;color:#53627b}.reg-method-tab.active{color:var(--reg-accent);box-shadow:0 2px 9px rgba(30,53,95,.12)}.reg-form-group input[type="text"],.reg-form-group input[type="email"],.reg-form-group input[type="tel"],.reg-form-group input[type="password"],.phone-input-wrapper{border-color:var(--reg-line);border-radius:14px}.reg-form-group input[type="text"],.reg-form-group input[type="email"],.reg-form-group input[type="tel"],.reg-form-group input[type="password"]{min-height:52px;background:#fff}.reg-form-group input:focus,.phone-input-wrapper:focus-within{border-color:var(--reg-accent);box-shadow:0 0 0 4px rgba(49,94,234,.12)}
.reg-btn{min-height:52px;border-radius:14px}.reg-btn-primary{background:linear-gradient(135deg,#2463eb,#5b4ce8);box-shadow:0 10px 22px rgba(49,94,234,.22)}.reg-btn-primary:hover{box-shadow:0 14px 25px rgba(49,94,234,.28)}.reg-btn-social{min-height:48px}.reg-btn-social:disabled{opacity:.55;cursor:not-allowed;background:#f8fafc}.reg-btn-social:disabled:hover{border-color:#e5e7eb;color:#374151;background:#f8fafc}.reg-footer{margin-top:26px;padding-top:20px}
@media(max-width:600px){.phoenix-registration{min-height:100dvh;padding:20px 14px 32px}.reg-shell{width:100%}.reg-brand{font-size:23px}.reg-back{margin-top:7px}.reg-container{margin-top:22px;padding:28px 20px 24px;border-radius:22px}.reg-header{margin-bottom:22px}.reg-steps{margin:0 0 24px}.reg-step{padding:0 2px}.step-title{font-size:11px}.reg-form{gap:16px}.reg-form-row{grid-template-columns:1fr;gap:16px}.reg-method-tab{padding:10px 8px;font-size:13px}.reg-footer{margin-top:22px}}

/* Icon fonts are not available on auth routes; keep controls legible without them. */
body:has(.phoenix-registration) #pwa-install-btn{display:none!important}
.phoenix-registration .reg-method-tab i,.phoenix-registration .reg-btn-social i{display:none}
.phoenix-registration .reg-btn-vk::before{content:'VK';font-size:12px;font-weight:800;letter-spacing:.04em}.phoenix-registration .reg-btn-yandex::before{content:'Я';color:#e53935;font-size:18px;font-weight:800}
.reg-step:not(.active):not(.completed){opacity:.68}.step-title{font-weight:600}

/* Icon fonts are not available on auth routes; keep controls legible without them. */
body:has(.phoenix-registration) #pwa-install-btn,body:has(.phoenix-registration) #callphone-mob{display:none!important}
.phoenix-registration .reg-method-tab i,.phoenix-registration .reg-btn-social i{display:none}
.phoenix-registration .reg-btn-vk::before{content:'VK';font-size:12px;font-weight:800;letter-spacing:.04em}.phoenix-registration .reg-btn-yandex::before{content:'Я';color:#e53935;font-size:18px;font-weight:800}
.reg-step:not(.active):not(.completed){opacity:.68}.step-title{font-weight:600}

/* End */
/* /local/components/konsultante.sutochno/registration/templates/.default/style.css?178951435915208 */
