/* Account/Register.cshtml dosyasından taşındı (satır içi blok). */
* { box-sizing: border-box; }
html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}
body { 
    background-color: #f8fafc !important;
    background-image: url('/hkmo/background.png') !important; 
    background-repeat: no-repeat !important; 
    background-position: center center !important; 
    background-attachment: fixed !important; 
    background-size: cover !important; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    overflow-x: hidden;
    min-height: 100%;
    margin: 0;
}
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .form-group input, input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 768px) {
    body { background-attachment: scroll !important; }
}
.auth-container { 
    min-height: 100vh; 
    min-height: 100dvh;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 1.5rem 1rem; 
}
.auth-card { 
    width: 440px; 
    max-width: 100%; 
    border: 1px solid rgba(226, 232, 240, 0.8); 
    border-radius: 14px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(8px); 
}
.auth-body { padding: 1.25rem 1.5rem; }

.brand-header { text-align: center; padding-bottom: 0.75rem; margin-bottom: 0.75rem; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: center; align-items: center; gap: 0.75rem; }
.brand-header img { height: 35px; max-height: 40px; width: auto; object-fit: contain; }
.brand { font-weight: 700; letter-spacing: .4px; color: #1f295d; font-size: 1.15rem; }
.brand .gis { font-size: 0.7rem; }
.subtitle { text-align: center; font-size: 0.8125rem; color: #64748b; margin-bottom: 0.75rem; }

.form-group { margin-bottom: 0.6rem; }
.form-group label { font-size: 0.775rem; color: #475569; margin-bottom: 0.2rem; display: block; font-weight: 500; }
.form-group input { width: 100%; min-height: 38px; padding: 0.45rem 0.7rem; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 0.85rem; transition: all 0.15s; }
.form-group input:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59,130,246,0.1); }
.form-group input::placeholder { color: #94a3b8; }

.row-2col { display: flex; gap: 0.75rem; }
.row-2col .form-group { flex: 1; min-width: 0; }

.password-wrapper { position: relative; width: 100%; }
.password-wrapper input { padding-right: 2.75rem; }
.password-toggle { 
    position: absolute; 
    right: 0; 
    top: 0; 
    bottom: 0;
    width: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none; 
    border: none; 
    color: #94a3b8; 
    cursor: pointer; 
    padding: 0; 
    font-size: 1rem; 
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.password-toggle:hover { color: #475569; }

.checkbox-group { margin: 0.75rem 0 1rem 0; }
.checkbox-item { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 0.5rem; }
.checkbox-item input[type="checkbox"] { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; flex-shrink: 0; accent-color: #3b82f6; cursor: pointer; }
.checkbox-item label { font-size: 0.775rem; color: #64748b; line-height: 1.45; cursor: pointer; }
.checkbox-item label a { color: #3b82f6; text-decoration: none; font-weight: 500; }
.checkbox-item label a:hover { text-decoration: underline; }
.checkbox-item label strong { font-weight: 600; color: #334155; }

.btn-submit { 
    width: 100%; 
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b; 
    color: #fff; 
    border: none; 
    padding: 0.6rem 1rem; 
    border-radius: 8px; 
    font-size: 0.875rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: background 0.15s; 
    margin-top: 0.25rem; 
}
.btn-submit:hover { background: #334155; }
.btn-submit:active { transform: scale(0.99); }

.divider { height: 1px; background: #f1f5f9; margin: 0.75rem 0; }
.footer-text { text-align: center; font-size: 0.8rem; color: #64748b; }
.footer-text a { color: #3b82f6; text-decoration: none; font-weight: 600; }
.footer-text a:hover { text-decoration: underline; }

.alert-msg { padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.75rem; margin-bottom: 0.6rem; }
.alert-msg:empty { display: none !important; }
.alert-msg.validation-summary-valid { display: none !important; }
.alert-msg ul { margin: 0; padding-left: 1.25rem; list-style-type: disc; }
.alert-msg ul li { margin-bottom: 0.25rem; }
.alert-msg ul li:only-child[style*="display:none"] { display: none !important; }
.alert-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.validation-error { color: #dc2626; font-size: 0.7rem; margin-top: 0.2rem; display: block; font-weight: 500; }

.modal-content { border-radius: 14px; border: none; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.modal-header { border-bottom: 1px solid #f1f5f9; padding: 1rem 1.25rem; background: #f8fafc; }
.modal-header .modal-title { font-size: 0.95rem; font-weight: 600; color: #1e293b; line-height: 1.4; }
.modal-body { padding: 1.25rem; font-size: 0.825rem; color: #475569; max-height: 65vh; overflow-y: auto; line-height: 1.6; }
.modal-body h6 { font-size: 0.875rem; font-weight: 600; color: #1e293b; margin-top: 1rem; margin-bottom: 0.5rem; }
.modal-body h6:first-child { margin-top: 0; }
.modal-body ul { margin-left: 1rem; margin-bottom: 0.75rem; padding-left: 0.5rem; }
.modal-body li { margin-bottom: 0.35rem; }
.modal-footer { border-top: 1px solid #f1f5f9; padding: 0.75rem 1.25rem; background: #f8fafc; }
.modal-footer .btn { font-size: 0.8125rem; padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 500; }

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
    .form-group input, input, select, textarea { font-size: 16px !important; }
}
@media (max-width: 768px) {
    .auth-container {
        min-height: 100vh;
        min-height: 100svh;
        padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
        align-items: flex-start;
    }
    .auth-card { width: 100%; max-width: 440px; border-radius: 12px; }
    .auth-body { padding: 1rem 1rem; }
    .row-2col { flex-direction: column; gap: 0; }
    .form-group { margin-bottom: 0.5rem; }
    .form-group input { font-size: 16px !important; min-height: 38px; padding: 0.4rem 0.6rem; }
    .password-wrapper input { padding-right: 3rem; }
    .password-toggle { width: 3rem; }
    .btn-submit { min-height: 40px; font-size: 0.925rem; }
    .modal-dialog { margin: 0.75rem; }
    .modal-body { max-height: 70vh; padding: 1rem; }
}

