[hidden] { display: none !important; }
.public-shell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 0 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}
.public-shell-brand { display: inline-flex; align-items: center; gap: 10px; color: #1f2937; font-weight: 700; }
.public-shell-brand svg { width: 40px; height: 40px; padding: 9px; border-radius: 8px; background: #e8f0fe; color: #1a73e8; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.public-shell-header > a:last-child { color: #1a73e8; font-weight: 600; }
.public-shell-footer { padding: 18px 24px; border-top: 1px solid #e5e7eb; background: #fff; color: #6b7280; text-align: center; font-size: 12px; }
.public-shell-header + #main-content .auth-container { min-height: calc(100vh - 126px); background: #f9fafb; }
.public-shell-header + #main-content .auth-info-panel { background: linear-gradient(135deg, #1f2937, #374151); }
.public-shell-header + #main-content .auth-footer-text { display: none; }
.public-shell-header + #main-content .auth-logo,
.public-shell-header + #main-content .auth-link,
.public-shell-header + #main-content .auth-back-link { color: #1a73e8; }
.public-shell-header + #main-content .btn-primary { background: #1a73e8; }
.public-shell-header + #main-content .btn-primary:hover { background: #1558b0; }
.public-page .hero-section { background: linear-gradient(135deg, #1f2937, #374151); }
.public-page .navbar-brand a,
.public-page .navbar-menu a:hover,
.public-page .navbar-menu a.active { color: #1a73e8; }

.autocomplete { position: relative; min-width: 0; }
.form-group .autocomplete .outlined-field { position: relative; display: block; margin: 0; font-weight: 400; }
.form-group .autocomplete .outlined-field > input { display: block; width: 100%; height: 56px; padding: 16px 14px; border: 1px solid #747775; border-radius: 4px; background: #fff; font: inherit; }
.form-group .autocomplete .outlined-field > input:focus { padding-left: 13px; border: 2px solid #1a73e8; outline: none; box-shadow: none; }
.form-group .autocomplete .outlined-field > span { position: absolute; top: 28px; left: 12px; padding: 0 4px; background: #fff; color: #5f6368; line-height: 1; transform: translateY(-50%); pointer-events: none; transition: top .15s ease, font-size .15s ease, color .15s ease; }
.form-group .autocomplete .outlined-field > input:focus + span,
.form-group .autocomplete .outlined-field > input:not(:placeholder-shown) + span { top: 0; font-size: 12px; }
.form-group .autocomplete .outlined-field > input:focus + span { color: #1a73e8; }
.autocomplete-popup { position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; width: 100%; padding: 6px 0; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; box-shadow: 0 10px 15px rgba(0, 0, 0, .1); }
.autocomplete-popup [role="listbox"] { max-height: 200px; overflow-y: auto; }
.autocomplete-popup [role="option"] { padding: 10px 14px; cursor: pointer; }
.autocomplete-popup [role="option"]:hover, .autocomplete-popup [role="option"][aria-selected="true"] { background: #e8f0fe; color: #174ea6; }
.autocomplete-status, .autocomplete-popup .error { margin: 0; padding: 4px 14px; font-size: 12px; }
.autocomplete-status:empty { display: none; }
.autocomplete-more { width: 100%; padding: 9px 14px; border: 0; background: #fff; color: #1a73e8; text-align: left; }

.form-group:not(.form-check):has(> input:not([type="hidden"])),
.form-group:not(.form-check):has(> select),
.form-group:not(.form-check):has(> textarea),
.form-group:not(.form-check):has(> .password-input-wrapper) {
    position: relative;
    padding-top: 4px;
}

.form-group:not(.form-check) > label {
    position: absolute;
    z-index: 1;
    top: 32px;
    left: 12px;
    margin: 0;
    padding: 0 4px;
    background: #fff;
    color: #5f6368;
    font-size: 14px;
    line-height: 1;
    transform: translateY(-50%);
    pointer-events: none;
    transition: top .15s ease, font-size .15s ease, color .15s ease;
}

.form-group:not(.form-check) > label i { display: none; }
.form-group:not(.form-check) > input:not([type="hidden"]),
.form-group:not(.form-check) > select,
.form-group:not(.form-check) > textarea,
.form-group:not(.form-check) > .password-input-wrapper > input {
    width: 100%;
    min-height: 56px;
    padding: 16px 14px;
    border: 1px solid #747775;
    border-radius: 4px;
    outline: none;
    background: #fff;
    color: #1f2937;
    font: inherit;
    box-shadow: none;
}
.form-group:not(.form-check) > .password-input-wrapper > input { padding-inline-end: 52px; }
.form-group:not(.form-check) input::placeholder,
.form-group:not(.form-check) textarea::placeholder { color: transparent; }
.form-group:not(.form-check) input:focus::placeholder,
.form-group:not(.form-check) textarea:focus::placeholder { color: #9ca3af; }
.form-group:not(.form-check):focus-within > label,
.form-group:not(.form-check):has(input:not(:placeholder-shown)) > label,
.form-group:not(.form-check):has(textarea:not(:placeholder-shown)) > label,
.form-group:not(.form-check):has(select) > label { top: 4px; font-size: 12px; }
.form-group:not(.form-check):focus-within > label { color: #1a73e8; }
.form-group:not(.form-check) > input:focus,
.form-group:not(.form-check) > select:focus,
.form-group:not(.form-check) > textarea:focus,
.form-group:not(.form-check) > .password-input-wrapper > input:focus {
    border: 2px solid #1a73e8;
    padding-left: 13px;
    outline: none;
    box-shadow: none;
}
