/* perfil-admin.css - Estilo Clássico & Sofisticado */

/* Garante que o body ocupe a tela toda e define um fundo */
body {
    background-color: #1a1a24;
    color: #f1f1f1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

/* Container principal com layout de duas colunas */
.profile-container-classic {
    max-width: 1100px;
    margin: 50px auto;
    padding: 30px;
    background-color: #252530;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    border: 1px solid #333;
}

/* --- COLUNA ESQUERDA (SIDEBAR) --- */
.profile-sidebar {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 3px solid #D4AF37; /* Dourado */
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background-color: #333;
}
.profile-photo img {
    width: 100%; height: 100%; object-fit: cover;
}
.profile-photo::after {
    content: 'Mudar Foto';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.profile-photo:hover::after {
    opacity: 1;
}

.profile-name h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
}
.profile-name p {
    margin: 5px 0 0 0;
    color: #aaa;
    font-style: italic;
    font-size: 16px;
}

/* Cartões de Estatística */
.stats-container {
    display: flex; /* Ativa o modo flexbox */
    flex-wrap: wrap; /* Permite que os itens quebrem para a linha de baixo */
    justify-content: center; /* Centraliza os itens horizontalmente */
    gap: 10px; /* Cria um espaço entre os cards */
    padding-top: 10px; /* Um pequeno espaço no topo */
}

.stat-card {
    background-color: #1e1e26;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    flex-grow: 1;
    border: 1px solid #333;
}
.stat-card h3 {
    margin: 0 0 5px 0;
    font-size: 32px;
    color: #D4AF37;
    font-weight: 700;
}
.stat-card p {
    margin: 0;
    font-size: 13px;
    color: #aaa;
}


/* --- COLUNA DIREITA (PRINCIPAL) --- */
.profile-main {
    padding-left: 40px;
    border-left: 1px solid #3d3d47;
}

.profile-section {
    margin-bottom: 40px;
}
.profile-section:last-child {
    margin-bottom: 0;
}
.profile-section h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #f1f1f1;
    border-bottom: 1px solid #3d3d47;
    padding-bottom: 10px;
    font-weight: 500;
}

/* Formulário e Inputs */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.form-group label {
    width: 120px;
    color: #aaa;
    font-size: 14px;
}
.input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}
.input-wrapper input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #555;
    color: #f1f1f1;
    padding: 10px 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.input-wrapper input:focus,
.input-wrapper input:read-only:focus {
    outline: none;
    border-bottom-color: #D4AF37;
}
.input-wrapper input[readonly] {
    color: #ccc;
    border-bottom-style: dashed;
}

/* Botões de Ação (lápis, disquete) */
.action-button {
    background: transparent;
    color: #aaa;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    transition: color 0.3s;
}
.action-button:hover {
    color: #D4AF37;
}

/* Botões de Controle Principal */
.main-action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #33333d;
    color: #f1f1f1;
    border: 1px solid #4a4a52;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s, border-color 0.3s;
}
.main-action-button:hover {
    background-color: #444;
    border-color: #D4AF37;
}
.main-action-button i {
    color: #D4AF37;
}

/* ================================== */
/* --- ESTILOS PARA TODOS OS MODAIS --- */
/* ================================== */

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Fundo um pouco mais escuro */
    backdrop-filter: blur(5px); /* Efeito de desfoque no fundo (moderno) */
}

.modal-content {
    background-color: #252530; /* Mesma cor do container principal */
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #3d3d47;
    width: 90%;
    max-width: 700px;
    border-radius: 12px;
    color: #f1f1f1;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-content h2 {
    margin-top: 0;
    color: #f1f1f1;
    border-bottom: 1px solid #3d3d47;
    padding-bottom: 15px;
    font-weight: 500;
    font-size: 22px;
}

.close-button {
    color: #aaa; 
    float: right; 
    font-size: 28px; 
    font-weight: bold;
    transition: color 0.3s;
}
.close-button:hover, 
.close-button:focus {
    color: #D4AF37; /* Cor dourada no hover */
    text-decoration: none; 
    cursor: pointer;
}

/* Estilo para cada item da lista (agendamento) dentro do modal */
.solicitacao {
    background-color: #1e1e26;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px; /* Espaço entre texto e botões em telas pequenas */
}

.solicitacao-info p { 
    margin: 5px 0; 
    color: #ccc; 
    line-height: 1.6;
}
.solicitacao-info p strong { 
    color: #f1f1f1; 
    font-weight: 600;
}

/* Container dos botões de ação */
.solicitacao-acoes {
    display: flex; 
    gap: 10px; 
    align-items: center;
}

/* Estilo base para TODOS os botões de ação (<a> e <button>) */
.solicitacao-acoes a,
.solicitacao-acoes button {
    padding: 8px 15px; 
    border-radius: 5px; 
    color: white !important;
    text-decoration: none !important; 
    font-weight: bold; 
    border: none;
    cursor: pointer; 
    font-size: 0.9em; 
    transition: all 0.2s ease;
}
.solicitacao-acoes a:hover, 
.solicitacao-acoes button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Cores dos Botões para combinar com o tema --- */
.btn-confirmar, 
.concluido-btn { 
    background-color: #2a9d8f; /* Verde-água sofisticado */
}

.btn-recusar, 
.deletar-btn { 
    background-color: #e76f51; /* Laranja-queimado sofisticado */
}

.nao-compareceu-btn { 
    background-color: #e9c46a; /* Amarelo-dourado sofisticado */
    color: #252530 !important; 
}

.user-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-top: 20px; 
}
.user-table th, .user-table td { 
    padding: 12px; 
    border-bottom: 1px solid #3d3d47; 
    text-align: left; 
}
.user-table th { 
    color: #D4AF37; 
    font-size: 14px; 
    text-transform: uppercase; 
}
.user-table td { 
    font-size: 14px; 
}
.user-table tr:last-child td { 
    border-bottom: none; 
}
.user-actions button { 
    background: transparent; 
    color: #aaa; transition: color 0.3s; 
}
.user-actions button:hover { 
    color: #D4AF37; 
}
/* Estilo para a célula de estatísticas na tabela de usuários */
.stats-cell {
    display: flex;
    flex-direction: column; /* Coloca os itens um embaixo do outro */
    gap: 4px; /* Pequeno espaço entre as linhas */
    font-size: 12px;
    color: #ccc;
}

.stats-cell span strong {
    color: #f1f1f1;
    font-weight: 600;
}

.user{
  padding: 5px;
  background-color: rgb(94, 94, 95);
  border-radius: 15px;
  color: black;
}

.menu-usuario {
  position: relative;
  display: inline-block;
}

.usuario-btn {
  background: #444;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}

.usuario-btn i {
  margin-left: 6px;
}

.menu-opcoes {
  display: none;
  position: absolute;
  right: 0;
  background: #222;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  min-width: 140px;
  z-index: 10;
}

.menu-opcoes a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
}

.menu-opcoes a:hover {
  background: #555;
}

/* Mostrar ao passar o mouse (CSS puro) */
.menu-usuario:hover .menu-opcoes {
  display: block;
}

.star-rating {
    text-align: center;
    width: 100%;
    margin-top: 15px; /* Espaçamento acima */
    font-size: 1.5rem; /* Tamanho das estrelas */
    color: #fbbc05; /* Cor amarela/dourada bonita */
}