body { font-family: 'Segoe UI', Arial, sans-serif; background: #f4f6fa; margin: 0; }
.login-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; }
.login-box { background: #fff; padding: 36px 24px 28px 24px; border-radius: 14px; box-shadow: 0 6px 32px rgba(34,58,94,0.10); max-width: 350px; width: 100%; box-sizing: border-box; }
.logo { display: flex; align-items: center; justify-content: center; font-size: 2em; color: #1976d2; font-weight: 700; margin-bottom: 18px; letter-spacing: 1px; }
.logo i { margin-right: 10px; }
.login-box h2 { text-align: center; margin-bottom: 24px; font-size: 1.5em; font-weight: 600; color: #223A5E; }
.login-box label { display: block; margin-bottom: 10px; font-weight: 500; }
.login-box input[type="text"], .login-box input[type="password"] { width: 100%; box-sizing: border-box; padding: 12px 14px; margin-bottom: 18px; border: 1.5px solid #e0e6ed; border-radius: 7px; font-size: 1em; background: #f4f6fa; transition: border 0.2s; }
.login-box input:focus { border: 1.5px solid #1976d2; outline: none; background: #fff; }
.login-box button { width: 100%; box-sizing: border-box; padding: 13px; background: #1976d2; color: #fff; border: none; border-radius: 7px; font-size: 1.1em; font-weight: 600; cursor: pointer; margin-top: 8px; transition: background 0.2s, box-shadow 0.2s; box-shadow: 0 2px 8px rgba(25,118,210,0.08); }
.login-box button:hover { background: #1256a3; }
.login-box .input-icon { position: relative; width: 100%; box-sizing: border-box; }
.login-box .input-icon input { width: 100%; box-sizing: border-box; padding-left: 40px; }
.login-box .input-icon i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #b0b0b0; font-size: 1.2em; }
.error-msg { color: #e74c3c; text-align: center; margin-bottom: 10px; font-weight: 500; }
@media (max-width: 500px) { .login-box { min-width: 90vw; max-width: 98vw; padding: 18px 6vw; } }

h2 { text-align: center; }
form { max-width: 300px; margin: 40px auto; padding: 20px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px #ccc; }
label { display: block; margin-bottom: 10px; }
input[type="text"], input[type="password"] { width: 100%; padding: 8px; margin-top: 4px; margin-bottom: 12px; border: 1px solid #ccc; border-radius: 4px; }
button { width: 100%; padding: 10px; background: #007bff; color: #fff; border: none; border-radius: 4px; cursor: pointer; }
button:hover { background: #0056b3; }
p { text-align: center; }
.bed-back-btn { margin-top: 18px; background: #fff; color: #1976d2; border: 1.5px solid #1976d2; border-radius: 6px; padding: 8px 18px; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; display: inline-block; }
.bed-back-btn:hover { background: #1976d2; color: #fff; }

/* Estilos para o autocomplete do ICD10 */
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999 !important;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ui-autocomplete .ui-menu-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
}

.ui-autocomplete .ui-menu-item:last-child {
    border-bottom: none;
}

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    background: #f5f5f5;
}

.ui-helper-hidden-accessible {
    display: none;
} 