/* 🎨 REGISTER PAGE - PERFECT MATCH WITH LOGIN PAGE */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body {
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    color: #334155;
}

/* PERFECT CENTERING WRAPPER - SAME AS LOGIN */
.register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* MAIN CONTAINER */
.register-container {
    width: 100%;
    max-width: 420px;
}

/* REGISTER CARD - IDENTICAL TO LOGIN */
.register-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    z-index: 10;
}

/* LOGO SECTION - SAME STYLE */
.logo-section {
    text-align: center;
    margin-bottom: 2.5rem;
}
.logo-section i {
    font-size: 4rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: block;
}
.logo-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
.logo-section p {
    color: #64748b;
    font-size: 1.05rem;
    font-weight: 500;
}

/* FORM - IDENTICAL */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.input-group {
    position: relative;
}
.input-group i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
    z-index: 2;
}
.input-group input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}
.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* BUTTON - SAME AS LOGIN & APP */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    margin-top: 0.5rem;
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
}
.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* DIVIDER - SAME */
.divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
    color: #9ca3af;
}
.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}
.divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 1.5rem;
    font-weight: 500;
}

/* LOGIN LINK - SAME STYLE */
.login-link {
    text-align: center;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}
.login-link a {
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
}
.login-link a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

/* STATUS MESSAGE - IDENTICAL */
.status-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
}
.status-success {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-error {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* RESPONSIVE - PERFECT MOBILE */
@media (max-width: 480px) {
    .register-wrapper {
        padding: 1rem 0.5rem;
    }
    .register-card {
        padding: 2rem 1.5rem;
        margin: 0;
    }
    .logo-section h1 {
        font-size: 1.8rem;
    }
    .logo-section i {
        font-size: 3.2rem;
    }
    .btn-primary {
        padding: 1.15rem 1.5rem;
    }
}
