﻿:root {
    --cliksell-navy: #1A2B49;
    --cliksell-warm-white: #F9F9F9;
    --cliksell-slate: #6B7280;
    --cliksell-gold: #C8A75C;
    --cliksell-teal: #2BA6A6;
    --cliksell-red: #DC2626;
}

/* =============================
   LAYOUT (IDENTICAL TO LOGIN)
   ============================= */

.register-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: white;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 1.5rem;
    position: relative;
    overflow: hidden;
    padding-top: 250px!important;
}

    .register-container::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -10%;
        width: 600px;
        height: 600px;
        border-radius: 50%;
        pointer-events: none;
    }

    .register-container::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        pointer-events: none;
    }

.register-wrapper {
    width: 100%;
    max-width: 450px; /* MATCHES LOGIN */
    position: relative;
    z-index: 1;
}

.register-card {
    background: white;
    border-radius: 24px;
    padding: 0.5rem 1.5rem; /* MATCHES LOGIN */
    box-shadow: 0 10px 40px rgba(26, 43, 73, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-logo {
    max-width: 200px; /* SAME AS LOGIN */
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

@media (max-width: 768px) {
    .brand-logo {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        max-width: 120px;
    }
}

/* =============================
   HEADERS (MATCH LOGIN)
   ============================= */

.register-header {
    text-align: center;
    margin-bottom: 1rem; /* MATCH LOGIN SUBTITLE SPACING */
}

.brand-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, var(--cliksell-navy), var(--cliksell-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 0.75rem;
}

.subtitle {
    color: var(--cliksell-slate);
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* =============================
   FORM (MATCH LOGIN EXACTLY)
   ============================= */

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    color: var(--cliksell-slate);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.625rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s ease;
    outline: none;
    background: white;
}

    .form-input:focus {
        border-color: var(--cliksell-navy);
        box-shadow: 0 0 0 4px rgba(26,43,73,0.08);
    }

    .form-input:hover {
        border-color: #D1D5DB;
    }

    .form-input::placeholder {
        color: #9ca3af;
    }

.phone-prefix {
    padding: 1rem 1.25rem;
    background-color: #f8f9fa;
    border: 2px solid #E5E7EB;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.form-input select,
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    cursor: pointer;
}

/* =============================
   CHECKBOXES
   ============================= */

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

    .checkbox-container input[type="checkbox"] {
        margin-top: 0.125rem;
        width: 1.125rem;
        height: 1.125rem;
        flex-shrink: 0;
        accent-color: var(--cliksell-navy);
    }

.checkbox-label {
    color: var(--cliksell-slate);
    font-weight: 500;
    font-size: 1rem;
}

/* =============================
   BUTTONS (IDENTICAL TO LOGIN)
   ============================= */

.btn-primary, .btn {
    width: 100%;
    padding: 1.125rem;
    background: var(--cliksell-navy);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(26, 43, 73, 0.3);
    position: relative;
    overflow: hidden;
}

    .btn:hover:not(:disabled),
    .btn-primary:hover:not(:disabled) {
        background: #243D5F;
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(26,43,73,0.4);
    }

    .btn::before,
    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn:hover::before,
    .btn-primary:hover::before {
        left: 100%;
    }

    .btn:active,
    .btn-primary:active {
        transform: translateY(0);
    }

    .btn-primary:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* =============================
   OTHER ELEMENTS
   ============================= */

.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e5e7eb;
    }

    .divider span {
        position: relative;
        background: white;
        padding: 0 1rem;
        color: #9ca3af;
        font-size: 0.875rem;
    }

.footer-links {
    text-align: center;
    margin-top: 2rem;
}

    .footer-links p {
        color: #6b7280;
        font-size: 0.875rem;
    }

.link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

    .link:hover {
        text-decoration: underline;
    }

/* =============================
   VALIDATION (MATCH LOGIN)
   ============================= */

.validation-summary {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #991b1b;
    font-size: 0.875rem;
}

.validation-message {
    display: block;
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.375rem;
}

/* =============================
   RESPONSIVE
   ============================= */

@media (max-width: 640px) {
    .register-card {
        padding: 2rem 1.5rem;
    }

    .brand-title {
        font-size: 2rem;
    }
}
