/**
 * СТИЛИ ФОРМЫ РЕГИСТРАЦИИ
 * Полная версия со всеми адаптивными стилями
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    user-select: none;
}

body {
    background: #fff;
    padding: 0;
}

a {
    color: #3b82f6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.banner-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.column {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.left-column {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
    border-right: 1px solid #e5e7eb;
}

.logo {
    position: absolute;
    top: 30px;
    left: 40px;
    width: 26%;
    max-width: 100%;
    height: auto;
}

.right-column {
    background: white;
    justify-content: center;
    padding: 40px 35px;
}

.timer-container {
    text-align: center;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgb(55 53 53 / 20%);
}

.timer {
    font-size: 34px;
    font-weight: 800;
    background: #06680f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'SF Mono', 'Courier New', monospace;
    letter-spacing: 2px;
}

.timer-label {
    font-size: 11px;
    color: #002c04;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f9fafb;
}

.form-control:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: white;
    transform: translateY(-1px);
}

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

.form-check {
    display: flex;
    align-items: flex-start;
    margin: 18px 0 20px 0;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #61ba09;
}

.form-check-label {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    cursor: pointer;
}

.submit-btn {
    background: linear-gradient(135deg, #61ba09 0%, #4a9007 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(97, 186, 9, 0.4);
}

.submit-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(97, 186, 9, 0.5);
}

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

.submit-btn:disabled {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.position-suggestions {
    display: none;
    position: absolute;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    max-height: 180px;
    overflow-y: auto;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    margin-top: 6px;
}

.position-suggestion {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    transition: all 0.2s;
    color: #374151;
}

.position-suggestion:hover {
    background: linear-gradient(135deg, #61ba09 0%, #4a9007 100%);
    color: white;
}

.position-suggestion:last-child {
    border-bottom: none;
}

.left-content {
    margin-top: 30px;
    text-align: left;
}

.left-title {
    font-size: 18px;
    font-weight: 800;
    margin: 40px 0 20px 0;
    line-height: 1.2;
    color: #1f2937;
    letter-spacing: -0.5px;
}

.steps-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.left-features {
    margin-top: 15px;
    list-style: none;
    margin-bottom: 0;
}

.left-features li {
    margin-bottom: 16px;
    padding: 18px 20px;
    padding-left: 50px;
    position: relative;
    font-size: 15px;
    line-height: 1.5;
    color: #374151;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.left-features li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.left-features li:before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #61ba09 0%, #4a9007 100%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(97, 186, 9, 0.3);
}

.bonus-message {
    margin-top: 30px;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
}

.form-result {
    text-align: center;
    padding: 40px;
}

.form-result h3 {
    color: #059669;
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
}

.form-result a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.form-result a:hover {
    color: #2162cc;
    text-decoration: underline;
}

.expired-message {
    text-align: center;
    padding: 40px;
}

.expired-message h3 {
    color: #3b82f6;
    margin-bottom: 18px;
    font-size: 24px;
    font-weight: 700;
}

.test-controls {
    position: fixed;
    top: 10px;
    right: 10px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 400px;
}

.test-controls h2 {
    margin-bottom: 15px;
    font-size: 18px;
}

.test-controls button {
    margin: 5px;
    padding: 8px 15px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.test-controls button:hover {
    background: #2563eb;
}

.console-log {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #1f2937;
    color: #f3f4f6;
    padding: 15px;
    border-radius: 8px;
    max-width: 500px;
    max-height: 300px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.log-entry {
    margin: 5px 0;
    padding: 5px;
    border-left: 3px solid #3b82f6;
    padding-left: 10px;
}

.log-entry.success {
    border-left-color: #10b981;
}

.log-entry.error {
    border-left-color: #ef4444;
}

.log-entry.info {
    border-left-color: #3b82f6;
}

.banner-container {
    transition: opacity 0.8s ease-in-out;
}

@media (max-width: 1024px) {
    .left-column {
        min-height: auto;
        padding: 30px 25px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .right-column {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .banner-container {
        min-height: 100vh;
    }
    
    .column {
        padding: 20px 16px;
    }
    
    .left-column {
        padding: 20px 16px 30px 16px;
    }
    
    .logo {
        width: 120px;
        top: 20px;
        left: 16px;
    }
    
    .left-content {
        margin-top: 20px;
    }
    
    .left-title {
        font-size: 18px;
        margin: 30px 0 16px 0;
    }
    
    .steps-title {
        font-size: 13px;
        margin-bottom: 16px;
    }
    
    .left-features li {
        font-size: 14px;
        padding: 14px 16px 14px 44px;
        margin-bottom: 12px;
    }
    
    .left-features li:before {
        width: 20px;
        height: 20px;
        font-size: 12px;
        left: 14px;
    }
    
    .bonus-message {
        font-size: 12px;
        margin-top: 20px;
    }
    
    .right-column {
        padding: 25px 16px 40px 16px;
    }
    
    .timer-container {
        padding: 12px 16px;
        margin-bottom: 20px;
    }
    
    .timer {
        font-size: 28px;
        letter-spacing: 1.5px;
    }
    
    .timer-label {
        font-size: 10px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-control {
        padding: 11px 14px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .form-check {
        margin: 14px 0 16px 0;
    }
    
    .form-check-label {
        font-size: 11px;
    }
    
    .submit-btn {
        padding: 13px 18px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .position-suggestions {
        max-height: 150px;
        font-size: 14px;
    }
    
    .position-suggestion {
        padding: 9px 14px;
        font-size: 14px;
    }
    
    .form-result {
        padding: 30px 20px;
    }
    
    .form-result h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .banner-container {
        flex-direction: column;
    }

    .left-column {
        padding: 16px 12px 24px 12px;
    }
    
    .logo {
        width: 100px;
        top: 16px;
        left: 12px;
    }
    
    .left-title {
        font-size: 20px;
        margin: 24px 0 14px 0;
    }
    
    .left-features li {
        font-size: 13px;
        padding: 12px 14px 12px 40px;
        margin-bottom: 10px;
    }
    
    .left-features li:before {
        width: 18px;
        height: 18px;
        font-size: 11px;
        left: 12px;
    }
    
    .right-column {
        padding: 20px 12px 32px 12px;
    }
    
    .timer-container {
        padding: 10px 14px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    .timer {
        font-size: 24px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .form-result {
        padding: 24px 16px;
    }
    
    .form-result h3 {
        font-size: 18px;
        margin-bottom: 14px;
    }
}

@media (max-width: 360px) {
    .logo {
        width: 90px;
    }
    
    .left-title {
        font-size: 18px;
    }
    
    .left-features li {
        font-size: 12px;
        padding: 10px 12px 10px 36px;
    }
    
    .left-features li:before {
        width: 16px;
        height: 16px;
        font-size: 10px;
        left: 10px;
    }
    
    .timer {
        font-size: 22px;
    }
    
    .timer-label {
        font-size: 9px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .form-control:focus {
        transform: translateY(0);
    }
    
    .submit-btn:hover {
        transform: scale(1);
    }
    
    .submit-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
    
    .position-suggestion {
        padding: 12px 14px;
    }
    
    .left-features li:hover {
        transform: none;
    }
}
