:root {
    --primary-color: #e53e3e;
    --secondary-color: #f3f4f6;
    --text-color: #4a5568;
    --bg-color: #ffffff;
    --header-color: #e5e7eb;
    --card-bg: #f9fafb;
    --hover-color: #fed7d7;
    --transition-speed: 0.3s;
    --bg-gradient-1: #fff5f5;
    --bg-gradient-2: #fed7d7;
    --bg-gradient-3: #feb2b2;
    --footer-bg: #f3f4f6;
    --footer-text: #4a5568;
    --border-color: #e5e7eb; /* Added border color variable */
}

.dark {
    --primary-color: #ff6b6b;
    --secondary-color: #2d3748;
    --text-color: #e2e8f0;
    --bg-color: #1a202c;
    --header-color: #2d3748;
    --card-bg: #2d3748;
    --hover-color: #4a5568;
    --bg-gradient-1: #2d3748;
    --bg-gradient-2: #4a5568;
    --bg-gradient-3: #718096;
    --footer-bg: #2d3748;
    --footer-text: #e2e8f0;
    --border-color: #4b5563; /* Added border color variable for dark mode */
}

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

body {
    font-family: "Quicksand", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, var(--bg-gradient-1), var(--bg-gradient-2), var(--bg-gradient-3));
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
    transition: all var(--transition-speed);
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.app-header {
    background-color: var(--primary-color);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition-speed);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.app-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 2.5rem;
    margin-right: 1rem;
}

h1 {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

.app-header h1,
.app-header .date-time,
.app-header .icon-button {
    color: #ffffff;
}

.app-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.date-time {
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.date-time i {
    margin-right: 0.5rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.icon-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform var(--transition-speed);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.icon-button:hover {
    transform: scale(1.1);
    color: var(--hover-color);
}

.settings-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-color);
    border-left: 1px solid var(--hover-color);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-speed) ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.settings-sidebar.open {
    right: 0;
}

.settings-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings-header h2 {
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.settings-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    width: 100%;
    text-align: left;
}

.settings-button:hover {
    background-color: var(--hover-color);
}

.settings-button-danger {
    color: var(--primary-color);
}

.settings-button-danger:hover {
    background-color: var(--hover-color);
}

.dark .settings-button-danger:hover {
    background-color: #63171b;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
    z-index: 999;
}

.sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.employees-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--card-bg);
}

.employee-card {
    background-color: var(--card-bg) !important;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: bounce 0.5s ease infinite alternate;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.employee-card[data-employee-id] {
    background-color: #ffffff;
}

.employee-role {
    font-size: 0.8rem;
    color: #ffd700;
    font-weight: bold;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

.employee-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 0.5rem;
    color: #ffffff;
}

.employee-info {
    display: flex;
    flex-direction: column;
}

.employee-name {
    font-weight: 500;
    color: var(--text-color) !important;
}

.dark .employee-name {
    color: #ffffff !important;
}

.employee-score {
    font-size: 0.8rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    position: relative; /* Adicionado para referência de posicionamento das estrelas */
}

.dark .employee-score {
    color: #ff6b6b !important;
}

.employee-score i {
    margin-right: 0.25rem;
    color: #fbbf24;
}

.app-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}

.contacts-container {
    width: 100%;
    max-width: 600px;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contacts-container h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-list {
    list-style-type: none;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: pointer;
    position: relative;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(229, 62, 62, 0.1);
}

.profile-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 0.75rem;
    flex-shrink: 0;
    color: #ffffff;
    background-color: var(--primary-color);
}

.contact-info {
    flex: 1;
    color: var(--text-color);
}

.contact-name {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.attendant-info {
    font-size: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.attendant-info i {
    margin-right: 0.25rem;
}

.attendant-card {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 500;
    color: #ffffff;
}

.attendant-status {
    display: inline-block;
    margin-left: 2px;
}

.attendant-status::after {
    content: "";
    display: inline-block;
    width: 1em;
    animation: ellipsis 1.5s infinite steps(4, end);
}

.loading-dots {
    display: inline-block;
    width: 1.5em;
}

@keyframes dots {
    0% {
        content: ".";
    }
    33% {
        content: "..";
    }
    66% {
        content: "...";
    }
    100% {
        content: "";
    }
}

.loading-dots::after {
    content: "";
    animation: dots 1.5s steps(4, end) infinite;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hover-color);
}

.pagination-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--hover-color);
    border-radius: 0.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.pagination-button:hover:not(.disabled) {
    background-color: var(--hover-color);
}

.pagination-button.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pagination-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .app-main {
        padding: 1rem;
    }

    .contacts-container {
        padding: 1rem;
    }
}

.app-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 1rem;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

@keyframes ellipsis {
    0% {
        content: ".";
    }
    33% {
        content: "..";
    }
    66% {
        content: "...";
    }
    100% {
        content: "";
    }
}

.message-bubble {
    position: absolute;
    right: -220px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: center;
    width: 200px;
    z-index: 10;
}

.message-bubble::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--bg-color);
}

.message-bubble.show {
    display: flex;
}

.message-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.message-bubble p {
    margin: 0 0 12px 0;
    text-align: center;
    font-weight: 500;
}

.message-actions {
    display: flex;
    gap: 8px;
}

.message-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.message-button-yes {
    background-color: #48bb78;
    color: white;
}

.message-button-yes:hover {
    background-color: #38a169;
}

.message-button-no {
    background-color: #f56565;
    color: white;
}

.message-button-no:hover {
    background-color: #e53e3e;
}

/* Modal Animation Styles */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes overlayFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex !important; /* Force display flex when shown */
    justify-content: center;
    align-items: center;
    opacity: 1;
}

/* Admin Options Modal specific styles */
#adminOptionsModal .modal-content {
    max-width: 400px;
    width: 90%;
    animation: modalFadeIn 0.3s ease forwards;
}

.admin-option-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    background-color: var(--bg-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-option-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.admin-option-btn i {
    margin-right: 10px;
}

.modal-content {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    position: relative;
    opacity: 0;
}

.modal.show .modal-content {
    animation: modalFadeIn 0.3s ease forwards;
}

.modal.hide .modal-content {
    animation: modalFadeOut 0.3s ease forwards;
}

/* Modal Header Styles */
.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--hover-color);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Modal Body Styles */
.modal-body {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-body p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

/* Modal Actions Styles */
.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--hover-color);
}

/* Button Styles */
.modal-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-button:hover {
    animation: buttonPulse 0.3s ease;
}

.modal-button i {
    font-size: 1.1rem;
}

.modal-button-primary {
    background-color: var(--primary-color);
    color: white;
}

.modal-button-primary:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

.modal-button-secondary {
    background-color: var(--hover-color);
    color: var(--text-color);
}

.modal-button-secondary:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.modal-button-danger {
    background-color: #ef4444;
    color: white;
}

.modal-button-danger:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

/* Dark Mode Styles */
.dark .modal-content {
    background-color: #1f2937;
    border: 1px solid #374151;
}

.dark .modal-header {
    border-bottom-color: #374151;
}

.dark .modal-actions {
    border-top-color: #374151;
}

.dark .modal-button-secondary {
    background-color: #374151;
    color: #e5e7eb;
}

.dark .modal-button-secondary:hover {
    background-color: #4b5563;
}

/* Add new styles for the empty state */
.empty-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: none !important;
    cursor: default !important;
}

.empty-state:hover {
    transform: none !important;
    box-shadow: none !important;
}

.empty-state-message {
    text-align: center;
    color: var(--text-color);
}

.empty-state-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.empty-state-message p {
    font-size: 1rem;
    font-weight: 500;
}

/* Account Configuration Modal Styles */
#accountConfigModal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

#accountConfigModal.modal.show {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

#accountConfigModal .modal-content {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 500px;
    position: relative;
}

#accountConfigModal .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

#accountConfigModal .close:hover {
    color: var(--primary-color);
}

.avatar-color-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.avatar-color-picker label {
    margin-bottom: 0.5rem;
}

.color-input-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatar-color-picker input[type="color"] {
    -webkit-appearance: none;
    width: 60px;
    height: 60px;
    padding: 0;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.avatar-color-picker input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.avatar-color-picker input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 50%;
}

.avatar-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--hover-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 2.25rem;
    color: var(--text-color);
}

/* Submit Button Styles */
.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button:hover {
    background-color: #dc2626;
}

/* Confirmation Message Styles */
.confirmation-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #48bb78;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    display: none;
}

.confirmation-message.show {
    display: block;
    animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
    0%,
    100% {
        opacity: 0;
    }
    10%,
    90% {
        opacity: 1;
    }
}

/* Star Animation Styles */
.star {
    position: absolute;
    pointer-events: none;
    animation: star-float 4s ease-out forwards;
    color: #fbbf24;
    z-index: 1000;
}

@keyframes star-float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(2);
        opacity: 1;
    }
    100% {
        transform: translate(var(--star-x), var(--star-y)) rotate(var(--star-rotate)) scale(0);
        opacity: 0;
    }
}

/* Employee Details Modal Styles */
#employeeDetailsModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

#employeeDetailsModal .modal-content {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

#employeeDetailsModal .close {
    color: var(--text-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#employeeDetailsModal .close:hover,
#employeeDetailsModal .close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

#employeeDetailsContent h3 {
    margin-top: 20px;
    color: var(--primary-color);
}

#currentAttendances,
#finishedAttendances {
    color: var(--primary-color);
}

#currentAttendances,
#finishedAttendances {
    list-style-type: none;
    padding: 0;
}

#currentAttendances li,
#finishedAttendances li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--card-bg);
    border-radius: 4px;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 1rem;
    color: var(--text-color);
    font-style: italic;
}

/* Employee Details Modal Additional Styles */
.attendance-item {
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--hover-color);
    transition: all 0.3s ease;
}

.attendance-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.attendance-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.empty-attendance {
    text-align: center;
    padding: 1rem;
    color: var(--text-color);
    font-style: italic;
    background-color: var(--card-bg);
    border-radius: 0.5rem;
}

#employeeDetailsModal h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem 0;
}

#employeeDetailsName {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.loading {
    text-align: center;
    padding: 1rem;
    color: var(--text-color);
    font-style: italic;
}

/* Employee Details Modal Additional Styles */
.attendance-item {
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--hover-color);
    transition: all 0.3s ease;
}

.attendance-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.attendance-item strong {
    color: var(--primary-color);
    font-weight: 600;
}

.empty-attendance {
    text-align: center;
    padding: 1rem;
    color: var(--text-color);
    font-style: italic;
    background-color: var(--card-bg);
    border-radius: 0.5rem;
}

/* Add these styles for the notepad icon */
.notepad-icon {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    border-radius: 4px;
    transition: all var(--transition-speed);
}

.notepad-icon:hover {
    background-color: var(--hover-color);
    transform: translateY(-1px);
}

/* Dark mode styles */
.dark .notepad-icon {
    color: var(--primary-color);
}

.dark .notepad-icon:hover {
    background-color: var(--hover-color);
}

.color-picker-circle {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.notebook-label {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    color: #fff; /* Cor da fonte branca */
    font-family: "Poppins", sans-serif; /* Ou "Quicksand", caso esteja usando */
    font-size: 0.700rem;
    cursor: pointer;
    /* Se quiser adicionar sombra ou outro efeito, adicione aqui */
}

/* Paginação dentro do modal de detalhes do funcionário */
#employeeDetailsModal .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

#employeeDetailsModal .pagination .pagination-button {
    /* Aqui você pode reutilizar o estilo que já tem para .pagination-button */
    /* Exemplo: */
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--hover-color);
    border-radius: 0.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-speed);
}

#employeeDetailsModal .pagination .pagination-button:hover:not([disabled]) {
    background-color: var(--hover-color);
}

#employeeDetailsModal .pagination .pagination-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Container da paginação (se quiser separar) */
#employeeDetailsModal .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Botões de paginação exclusivos do modal */
#employeeDetailsModal .attendance-page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--hover-color);
    border-radius: 0.5rem;
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

#employeeDetailsModal .attendance-page-btn:hover:not([disabled]) {
    background-color: var(--hover-color);
}

#employeeDetailsModal .attendance-page-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal Container */
#attendantSelectionModal .modal-content {
    max-width: 480px;
    width: 90%;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 1rem;
    position: relative;
    transition: background-color var(--transition-speed);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

#attendantSelectionModal .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

#attendantSelectionModal h2 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Lista de atendentes */
#attendantList {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

#attendantList li {
    margin-bottom: 0.5rem;
}

/* Botão para cada atendente */
.attendant-select-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--hover-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

/* Cor diferente para admins */
.attendant-select-btn.is-admin {
    background-color: #fff8dc; /* algo próximo de “amarelinho” */
    border-color: #ffeeba;
}

/* Efeito hover */
.attendant-select-btn:hover:not([disabled]) {
    background-color: var(--hover-color);
}

/* Ícone do funcionário */
.attendant-select-btn .employee-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Badge para admin */
.admin-badge {
    background-color: #ffd700;
    color: #000;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: auto; /* empurra para a direita */
    font-weight: 600;
}
