/* ======= GLOBAL STYLES ======= */

:root {
    --primary-color: #a67c52;
    --primary-dark: #8c6b48;
    --text-color: #333;
    --text-light: #777;
    --border-color: #ddd;
    --bg-light: #f9f9f9;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
}

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

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    margin-bottom: 0.5em;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.required {
    color: var(--error-color);
    margin-left: 4px;
}

.hint {
    display: block;
    margin-top: 5px;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ======= HEADER STYLES ======= */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    letter-spacing: 1px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

.logo p {
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

ul, ol {
    list-style: none;
    
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 5px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* ======= REGISTER STYLES ======= */
.register-section {
    padding: 60px 0;
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
}

.register-box {
    max-width: 580px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

.register-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* FORM STYLES */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(166, 124, 82, 0.2);
}

.form-group input::placeholder {
    color: #aaa;
    font-weight: 300;
}

/* PASSWORD INPUT STYLES */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

/* PASSWORD STRENGTH METER */
.password-strength {
    margin-top: 8px;
}

.strength-meter {
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-bar {
    height: 100%;
    width: 0;
    background-color: var(--error-color);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--text-light);
}

#strengthLevel {
    font-weight: 500;
}

/* CHECKBOX STYLES */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-color);
}

.terms-group label {
    font-weight: 500;
}

/* BUTTON STYLES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-text {
    margin-right: 8px;
}

.btn-icon {
    font-size: 0.9rem;
}

/* SOCIAL REGISTER STYLES */
.social-register {
    margin-top: 30px;
}

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

.divider-text {
    display: inline-block;
    padding: 0 15px;
    background-color: white;
    position: relative;
    z-index: 1;
    color: var(--text-light);
    font-size: 0.9rem;
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--border-color);
    z-index: 0;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.social-btn.google {
    background-color: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.social-btn.google:hover {
    background-color: #f5f5f5;
}

.social-btn.facebook {
    background-color: #3b5998;
    color: white;
}

.social-btn.facebook:hover {
    background-color: #344e86;
}

/* FOOTER STYLES */
footer {
    padding: 30px 0;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
}

.copyright p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* RESPONSIVE STYLES */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .register-box {
        padding: 30px;
    }

    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 15px 10px;
    }
}

@media (max-width: 576px) {
    .register-box {
        padding: 25px 20px;
    }
    
    .register-header h2 {
        font-size: 1.7rem;
    }
    
    .btn {
        padding: 12px 20px;
    }
}