:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --success-color: #2ecc71;
    --background-color: #f5f6fa;
    --card-color: #ffffff;
    --text-color: #2c3e50;
    --border-radius: 10px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    background: linear-gradient(135deg, #f6f8fa 0%, #e9ecef 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.register-container {
    width: 100%;
    max-width: 500px;
    margin: 2rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

h1::before {
    content: '\f234';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #edf2f7;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.2s;
}

input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #edf2f7;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.2s;
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
}

.btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn::before {
    content: '\f234';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
    background: #2980b9;
}

.form-error {
    color: #e74c3c;
    background: #fff5f5;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid #fab1a0;
}

.form-error ul {
    margin: 0;
    padding-left: 1.5rem;
}

.login-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--accent-color);
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .register-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }
}
