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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fa;
    color: #1a2b3c;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.screen {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hidden {
    display: none !important;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #0d2137;
    margin: 30px 0;
}

.logo-small {
    font-size: 16px;
    font-weight: 700;
    color: #0d2137;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.btn-logout {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 14px;
    cursor: pointer;
}

label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-top: 8px;
}

select, input:not([type="checkbox"]), textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    -webkit-appearance: none;
}

select:disabled {
    background: #f0f0f0;
    color: #999;
}

textarea {
    resize: vertical;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-top: 10px;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #0d2137;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
}

button[type="submit"]:active {
    background: #1a3a5c;
}

button[type="submit"]:disabled {
    background: #999;
    cursor: not-allowed;
}

.error {
    color: #e74c3c;
    font-size: 13px;
    text-align: center;
}

#message {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
}

#message.success {
    background: #d4edda;
    color: #155724;
}

#message.error {
    background: #f8d7da;
    color: #721c24;
}

