/* Mobile-first styles for registration page */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-container {
    width: 100%;
    max-width: 400px;
}

.register-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    width: 100%;
}

.register-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 24px;
}

.language-select {
    margin-bottom: 20px;
}

.language-label {
    font-size: 14px;
    font-weight: 500;
    color: #4a4a4a;
    margin-bottom: 8px;
}

.language-buttons {
    display: flex;
    gap: 12px;
}

.lang-btn {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #1a2c62;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lang-btn:hover {
    border-color: #4a7ba7;
    box-shadow: 0 0 0 2px rgba(74, 123, 167, 0.2);
}

.lang-btn.active {
    border-color: #1a2c62;
    background: #1a2c62;
    color: white;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-hidden {
    display: none;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #4a4a4a;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.form-input::placeholder {
    color: #999;
}

.register-button {
    padding: 14px 16px;
    background: #019d50;
    color: white;
    border: 1px solid #019d50;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.register-button:hover {
    border-color: #2bb87b;
    box-shadow: 0 0 0 2px rgba(43, 184, 123, 0.2);
}

.register-button:active {
    background: #005dcc;
}

.register-button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.error-message {
    color: #ff3b30;
    font-size: 14px;
    text-align: center;
    padding: 12px;
    background: #fee2e2;
    border-radius: 8px;
    margin-top: 8px;
}

.register-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.login-link {
    color: #019d50;
    text-decoration: none;
    font-weight: 500;
}

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

/* Logo styles */
.logo {
    font-size: 32px;
    font-weight: bold;
    color: #1a2c62;
}

.logo span {
    color: #019d50;
}

.header-logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

/* Consent checkboxes */
.consent-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consent-checkbox-item {
    display: block;
}

.consent-checkbox-item label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #4a4a4a;
}

.consent-checkbox-item label:hover {
    color: #1a2c62;
}

.consent-checkbox-item input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
}

.consent-checkbox-item span {
    flex: 1;
}

.consent-checkbox-item a {
    color: #019d50;
    text-decoration: none;
}

.consent-checkbox-item a:hover {
    text-decoration: underline;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .register-card {
        padding: 32px;
    }
    
    .register-title {
        font-size: 28px;
    }
}
