/* Register Page Styles */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 20px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    padding: 40px;
    width: 100%;
    max-width: 450px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #333;
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.logo p {
    color: #666;
    margin: 5px 0 0 0;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
}

/* Error state for inputs */
input.error {
    border-color: #dc3545;
}

.field-error {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.already-registered {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.already-registered:hover {
    text-decoration: underline;
}

.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-register:hover {
    transform: translateY(-2px);
}

.btn-register:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-messages {
    background: #fee;
    border: 1px solid #fcc;
    color: #c66;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.error-messages ul {
    margin: 0;
    padding-left: 20px;
}

.success-message {
    background: #efe;
    border: 1px solid #cfc;
    color: #6c6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.password-requirements {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.password-requirements h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}

.password-requirements ul {
    margin: 0;
    padding-left: 20px;
}

.password-requirements li {
    margin-bottom: 5px;
}

/* Password strength indicator */
.password-strength {
    margin-top: 5px;
    font-size: 12px;
}

.password-strength.weak {
    color: #dc3545;
}

.password-strength.medium {
    color: #ffc107;
}

.password-strength.strong {
    color: #28a745;
}

/* Responsive Design */
@media (max-width: 480px) {
    .register-container {
        margin: 10px;
        padding: 30px 20px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-register {
        width: 100%;
        text-align: center;
    }
}
