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

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    background-color: white;
    width: 100%;
    max-width: 600px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-weight: 300;
}

.form-group {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form-label {
    flex: 0 0 200px;
    padding-right: 15px;
    text-align: right;
    color: #555;
    font-weight: 600;
}

.form-input {
    flex: 1;
}

.form-error {
    color: #ff6b6b;
    font-size: 0.9em;
    margin-top: 5px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #4a90e2;
}

small {
    color: #888;
    font-size: 0.8em;
    display: block;
    margin-top: 5px;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #357abd;
}

.form-actions {
    margin-top: 20px;
}

.search-visibility .radio-group {
    display: flex;
    gap: 15px;
}

.search-visibility input[type="radio"] {
    margin-right: 5px;
}

.form-group.error input {
    border-color: #ff6b6b;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.8em;
    margin-top: 5px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }

    .form-label {
        text-align: left;
        margin-bottom: 5px;
        flex: none;
        padding-right: 0;
    }

    .form-input {
        width: 100%;
    }
}