﻿/* Estilos para a lista de usuários */
.content-area {
    padding: 20px;
}

.grid-container.card {
    padding: 0;
    overflow: hidden;
}

.grid-view {
    border-collapse: collapse;
    width: 100%;
    background-color: #fff;
}

    .grid-view th {
        background-color: #f8f9fa;
        padding: 10px;
        text-align: left;
        font-weight: 600;
        border-bottom: 1px solid #e5e7eb;
    }

        .grid-view th.cell-center {
            text-align: center;
        }


    .grid-view td {
        padding: 10px;
        border-bottom: 1px solid #f1f3f5;
    }

    .grid-view tr:last-child td {
        border-bottom: none;
    }

.clickable-row:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.actions-cell {
    text-align: right;
}

.cell-center {
    text-align: center;
}

.pill {
    padding: 5px 15px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    text-align: center;
}

.pill-success {
    background-color: #d1fae5;
    color: #065f46;
}

.pill-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.empty-grid {
    padding: 40px;
    text-align: center;
    color: #6b7280;
}

/* Estilos para o formulário na página de edição */
.form-page-body {
    background-color: #fff;
}

.form-container {
    max-width: 700px;
    margin: 24px auto;
}

.form-header {
    margin-bottom: 24px;
}

    .form-header h2 {
        margin: 0;
        font-size: 1.5rem;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-weight: 500;
    }

.input-field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field-hint {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
    display: block;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.form-message {
    text-align: left;
    margin-right: auto;
    font-weight: 500;
}

    .form-message.error {
        color: #ef4444;
    }

/* Estilos para o Modal (baseado em agendamentos.css) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 50;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 800px;
    max-width: 90vw;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 60;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eef0f6;
}

    .modal-header h2 {
        margin: 0;
        font-size: 1.1rem;
    }

.modal-body {
    padding: 0;
    height: 75vh;
}

    .modal-body iframe {
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0 0 14px 14px;
    }

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}
