* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c19d60;
    --secondary-color: #1a1a1a;
    --text-color: #666;
    --light-bg: #f8f8f8;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --success: #28a745;
    --danger: #dc3545;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

.header {
    background-color: var(--secondary-color);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header-nav a:hover,
.header-nav .login-link {
    color: var(--primary-color);
}

/* Register Section */
.register-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}

.register-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Left Side */
.register-left {
    background: linear-gradient(135deg, var(--primary-color), #d4af78);
    padding: 60px;
    color: var(--white);
    position: relative;
}

.register-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M20 20h60v60H20z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.5;
}

.info-content {
    position: relative;
    z-index: 1;
}

.info-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.tagline {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.95;
}

.benefits-list {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.benefit-text p {
    font-size: 15px;
    opacity: 0.9;
}

.testimonial {
    background-color: rgba(255,255,255,0.15);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.testimonial-content {
    position: relative;
}

.testimonial-content i {
    font-size: 30px;
    opacity: 0.3;
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
}

.testimonial-author span {
    font-size: 13px;
    opacity: 0.8;
}

/* Right Side - Form */
.register-right {
    padding: 60px;
    overflow-y: auto;
    max-height: 90vh;
}

.register-form-container {
    max-width: 500px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-color);
    font-size: 16px;
}

/* Social Register */
.social-register {
    display: grid;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    padding: 14px;
    border: 2px solid var(--border-color);
    background-color: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-btn i {
    font-size: 18px;
}

.social-btn.google:hover {
    background-color: #4285F4;
    border-color: #4285F4;
    color: var(--white);
}

.social-btn.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: var(--white);
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: var(--white);
    padding: 0 15px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 600;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 157, 96, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-color);
    font-style: italic;
}

/* Password Input */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s;
    background-color: var(--danger);
}

.strength-fill.weak {
    width: 33%;
    background-color: var(--danger);
}

.strength-fill.medium {
    width: 66%;
    background-color: #ffc107;
}

.strength-fill.strong {
    width: 100%;
    background-color: var(--success);
}

.strength-text {
    font-size: 12px;
    color: var(--text-color);
}

/* Checkbox */
.checkbox-group {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    font-size: 14px;
    color: var(--text-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.submit-btn:disabled {
    background-color: var(--border-color);
    cursor: not-allowed;
    transform: none;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.form-footer p {
    color: var(--text-color);
    font-size: 15px;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Security Note */
.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-color);
    font-size: 13px;
}

.security-note i {
    color: var(--success);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--success);
    color: var(--white);
    padding: 18px 25px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast i {
    font-size: 24px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .register-container {
        grid-template-columns: 1fr;
    }

    .register-left {
        padding: 40px;
    }

    .info-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .register-right {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .header-nav {
        display: none;
    }

    .register-left {
        display: none;
    }
}

@media (max-width: 480px) {
    .register-right {
        padding: 30px 20px;
    }

    .form-header h2 {
        font-size: 28px;
    }
}