* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f7f9fc;
    overflow-x: hidden;
    overflow-y: auto;
}

.signup-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.signup-header {
    text-align: center;
    margin-bottom: 30px;
}

.signup-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.signup-header p {
    color: #6a6a6a;
    margin: 0;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #1a9b96;
    padding-bottom: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #34495e;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #1a9b96;
}

.form-group .help-text {
    font-size: 14px;
    color: #6a6a6a;
    margin-top: 5px;
}

.error-message {
    background: #e74c3c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.signup-btn {
    width: 100%;
    padding: 15px;
    background: #1a9b96;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-btn:hover {
    background: #158d89;
}

.signup-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #6a6a6a;
}

.login-link a {
    color: #1a9b96;
    text-decoration: none;
}

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

.required {
    color: #e74c3c;
}

@media (max-width: 768px) {
    .signup-container {
        margin: 20px;
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
