﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1f2e 0%, #0f172a 100%);
    padding: 1rem;
    color: #e2e8f0;
}

.register-container {
    width: 100%;
    max-width: 420px;
    background: #1e293b;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border: 1px solid #334155;
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.register-subtitle {
    color: #94a3b8;
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #334155;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #0f172a;
    color: #f8fafc;
}

    .form-input:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-input {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    accent-color: #6366f1;
    background-color: #0f172a;
    border: 1px solid #334155;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #e2e8f0;
}

.forgot-password {
    font-size: 0.875rem;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .forgot-password:hover {
        color: #818cf8;
    }

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .submit-button:hover {
        background-color: #818cf8;
        transform: translateY(-1px);
    }

    .submit-button:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
    }

.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

    .divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background-color: #334155;
    }

.divider-text {
    position: relative;
    background-color: #1e293b;
    padding: 0 0.75rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.login-prompt {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

.login-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.25rem;
    transition: color 0.2s ease;
}

    .login-link:hover {
        color: #818cf8;
    }

/* Error message styling */
.error-message {
    background-color: #450a0a;
    border: 1px solid #991b1b;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
    color: #fecaca;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .register-container {
        padding: 1.5rem;
    }

    .register-title {
        font-size: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}
