/* ========================================
   REGISTER PAGE CSS (MINIMAL)
======================================== */

:root {
    --metallic-light: #D8DEE4;
    --metallic-dark: #4A5A6A;
    --bg-dark: #1F2B3A;
    --white: #FFFFFF;
    --black: #000000;
    --error: #D32F2F;
    --success: #2E7D32;
}

.register-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--metallic-light), var(--white));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.register-container {
    max-width: 1000px;
    width: 100%;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(74, 90, 106, 0.15);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* LEFT SIDE */
.register-left {
    background: linear-gradient(135deg, var(--metallic-dark), var(--bg-dark));
    padding: 60px 40px;
    display: flex;
    align-items: center;
}

.brand-content {
    color: var(--white);
}

.brand-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.brand-icon i {
    font-size: 40px;
}

.register-left h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.register-left p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.benefit-item i {
    font-size: 22px;
    color: var(--success);
}

/* RIGHT SIDE */
.register-right {
    padding: 60px 40px;
    position: relative;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--metallic-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--metallic-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: var(--metallic-dark);
    color: var(--white);
    transform: rotate(90deg);
}

.form-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #666;
}

/* FORM */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--metallic-light);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--metallic-dark);
    box-shadow: 0 0 0 4px rgba(74, 90, 106, 0.1);
}

.form-group input.error {
    border-color: var(--error);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 50px;
}

.toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
}

.error-msg {
    font-size: 13px;
    color: var(--error);
    display: none;
}

.error-msg.show {
    display: block;
}

.checkbox-group {
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 400 !important;
    color: #666 !important;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--metallic-dark);
    text-decoration: none;
    font-weight: 600;
}

/* BUTTON */
.btn-submit {
    width: 100%;
    background: var(--bg-dark);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--metallic-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 43, 58, 0.3);
}

.btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.btn-loader i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* DIVIDER */
.divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--metallic-light);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider span {
    background: var(--white);
    padding: 0 15px;
    font-size: 13px;
    color: #999;
    font-weight: 600;
}

/* SOCIAL BUTTONS */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-social {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--metallic-light);
    border-radius: 10px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social i {
    font-size: 20px;
}

.btn-social.google {
    color: #DB4437;
}

.btn-social.google:hover {
    background: #DB4437;
    color: var(--white);
    border-color: #DB4437;
}

.btn-social.facebook {
    color: #1877F2;
}

.btn-social.facebook:hover {
    background: #1877F2;
    color: var(--white);
    border-color: #1877F2;
}

/* LOGIN LINK */
.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: var(--metallic-dark);
    font-weight: 700;
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .register-container {
        grid-template-columns: 1fr;
    }
    .register-left {
        padding: 40px 30px;
    }
}

@media (max-width: 767.98px) {
    .register-left {
        display: none;
    }
    .register-right {
        padding: 40px 25px;
    }
}
