/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.register-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.register-container {
    width: 100%;
    max-width: 500px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 80px 60px;
    text-align: center;
}

.register-logo {
    margin-bottom: 40px;
}

.register-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.register-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 32px;
}

.alert {
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 4px;
    font-size: 14px;
    text-align: left;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-error p {
    margin: 5px 0;
}

.register-form {
    margin-bottom: 24px;
}

.form-field {
    margin-bottom: 20px;
    text-align: left;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 0.3px;
}

.form-field input[type="text"],
.form-field input[type="password"],
.form-field input[type="email"],
.form-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 0 0 0 2px rgba(102, 102, 102, 0.1);
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #5050e8;
}

/* Checkbox Styles */
.form-checkbox {
    margin-bottom: 24px;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666666;
    cursor: pointer;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #5050e8;
}

/* Button Styles */
.btn-register {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    background-color: #5050e8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.btn-register:hover {
    background-color: #3f40c7;
}

.btn-register:active {
    background-color: #2d2db0;
}

/* Footer Links */
.register-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.back-login {
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.back-login:hover {
    color: #5050e8;
}

/* Responsive Design */
@media (max-width: 480px) {
    .register-container {
        padding: 60px 30px;
        max-width: 100%;
    }

    .register-logo {
        margin-bottom: 30px;
    }

    .register-logo img {
        height: 50px;
    }

    .register-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .form-field {
        margin-bottom: 16px;
    }

    .form-field label {
        font-size: 12px;
    }

    .form-field input[type="text"],
    .form-field input[type="password"],
    .form-field input[type="email"],
    .form-field select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .radio-group {
        gap: 16px;
    }

    .radio-label {
        font-size: 13px;
    }

    .checkbox-label {
        font-size: 12px;
    }

    .btn-register {
        padding: 11px 14px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .back-login {
        font-size: 12px;
    }
}
