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

:root {
    --color-primary: #00BFA5;
    --color-white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lastUpdated{
    font-size: 0.75rem;
    color: #00000080;
    text-align: end;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    background-color: #f4f4f4 !important;
}

.header {
    background-color: var(--color-white);
    /* border-bottom: 4px solid #00000040; */
    
    box-shadow: var(--shadow-sm);
}



.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-icon {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.credits {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-primary);
    font-weight: 500;
}

.credits-icon {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
}

.credits-number {
    font-size: 1.125rem;
}

.logout-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem;
}

.logout-icon {
    width: 20px;
    height: 20px;
}

#logo{
    width: auto;
    height: 45px;
    margin: 0 auto;
    display: block;
}

/* Estilos adicionais para aprimorar o design */
.card {
    border-radius: 15px;
    overflow: hidden;
    /* max-width: 40vw; */
}

.card-body {
    background-color: #fff;
    
}
.manager{
    min-width: 40vw;   
}

input:focus, select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(38, 143, 255, 0.25);
}

button:focus {
    outline: none;
}

input, select {
    transition: all 0.3s ease-in-out;
}

.manager{
    align-items: center;
}

.form-step {
    transition: opacity 0.3s ease-in-out;
}

.eye-password{
    position: absolute;
    right: 25px;
    top: 136px;
    display: flex;
    height: 38px;
    align-items: center;
}

.eye-password-insurance{
    position: absolute;
    right: 25px;
    /* top: 136px; */
    display: flex;
    height: 38px;
    align-items: center;
    z-index: 9999;
}


.liberacoes {
    max-width: 90%;
    /* max-width: 1200px; */
    /* margin: 10px 20px; */
}


.progress-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.progress {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #0d6efd;
    transition: width 0.3s ease-in-out;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.step-indicator.active {
    background-color: #0d6efd;
    color: white;
}

/* Adicione no seu CSS */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

#cancelBtn, #saveChanges, .form-floating > label {
    display: flex;
    align-items: center;
}

.form-floating label {
    margin-left: 12px; /* Ajuste o valor conforme necessário */

}

.cursor-pointer {
    cursor: pointer;
}
.header-user-profile-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fff;
    padding: 10px 16px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
    max-width: 280px;
    margin-right: 30px;
}

.header-user-profile-box:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.user-avatar .material-symbols-outlined {
    font-size: 24px;
    color: #555;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    white-space: nowrap; /* Adicionado para evitar quebra de linha */
}

.user-clinic {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

.logout-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.logout-button .material-symbols-outlined {
    font-size: 22px;
    color: #666;
}

.logout-button:hover {
    background-color: #f5f5f5;
}

/* Estilos Refinados para o Dropdown do Usuário no Header */
.header-user-dropdown {
    position: relative;
    margin-right: 20px;
}

.header-user-profile-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fff;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
    max-width: 280px;
    cursor: pointer;
}

.header-user-profile-box:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-dropdown-arrow {
    transition: transform 0.3s ease;
    margin-left: 5px;
    color: #666;
}

.header-user-profile-box.open .header-dropdown-arrow {
    transform: rotate(180deg);
}

.header-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    padding: 8px 0;
    border: 1px solid #eee;
    overflow: hidden;
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-dropdown-item .material-symbols-outlined {
    font-size: 20px;
    color: #555;
    transition: color 0.2s ease;
}

.header-dropdown-item:hover {
    background-color: #f0f0f0;
    color: #000;
}

.header-dropdown-item:hover .material-symbols-outlined {
    color: #333;
}

/* Linha divisória (opcional, pode ser adicionada entre itens no HTML ou via CSS) */
.dropdown-divider {
    height: 1px;
    background-color: #eee;
    margin: 8px 0;
}

/* Estilos para Dropdown de Seleção de Clínica (Admin) */
.header-clinic-dropdown {
    position: relative;
    margin-right: 20px;
}

.header-clinic-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 8px 14px;
    margin: 5px 0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
    cursor: pointer;
    min-width: 200px;
}

.header-clinic-selector:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.header-clinic-selector .material-symbols-outlined:first-child {
    font-size: 22px;
    color: #00BFA5;
}

.clinic-selector-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clinic-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 20px;
    color: #666;
}

.header-clinic-selector.open .clinic-dropdown-arrow {
    transform: rotate(180deg);
}

.header-clinic-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    max-width: 400px;
    z-index: 1000;
    border: 1px solid #eee;
    overflow: hidden;
}

.clinic-menu-search {
    padding: 12px;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.clinic-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.clinic-search-input:focus {
    border-color: #00BFA5;
}

.clinic-menu-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 4px 0;
}

.clinic-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #444;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.clinic-menu-item .material-symbols-outlined {
    font-size: 20px;
    color: #00BFA5;
    transition: color 0.2s ease;
}

.clinic-menu-item:hover {
    background-color: #f0f0f0;
    color: #000;
}

.clinic-menu-item:hover .material-symbols-outlined {
    color: #00947f;
}

.clinic-menu-loading,
.clinic-menu-error,
.clinic-menu-empty {
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.clinic-menu-error {
    color: #dc3545;
}

.clinic-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clinic-menu-items::-webkit-scrollbar {
    width: 6px;
}

.clinic-menu-items::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.clinic-menu-items::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.clinic-menu-items::-webkit-scrollbar-thumb:hover {
    background: #555;
}
