/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: var(--spacing-lg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.toast {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--spacing-lg);
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    border-left: 4px solid var(--primary-color);
    animation: slideInRight var(--transition-normal);
    position: relative;
}

.toast.success {
    border-left-color: var(--success-color);
}

.toast.error {
    border-left-color: var(--error-color);
}

.toast.warning {
    border-left-color: var(--warning-color);
}

.toast.info {
    border-left-color: var(--info-color);
}

.toast-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-sm);
    flex-shrink: 0;
    margin-top: 2px;
}

.toast.success .toast-icon {
    background: var(--success-color);
}

.toast.error .toast-icon {
    background: var(--error-color);
}

.toast.warning .toast-icon {
    background: var(--warning-color);
}

.toast.info .toast-icon {
    background: var(--info-color);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.toast-message {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
}

.toast-close:hover {
    color: var(--gray-600);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: var(--spacing-lg);
    backdrop-filter: blur(4px);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    border: 1px solid var(--border-color);
}

.modal.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-secondary);
}

.modal-header h3 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-color);
    background: var(--bg-color);
}

.modal-body {
    padding: var(--spacing-lg);
    max-height: 60vh;
    overflow-y: auto;
    background: var(--white);
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    background: var(--bg-secondary);
}

/* Documents Grid */
.documents-grid {
    /* display: grid; */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.document-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-fast);
    position: relative;
}

.document-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.document-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.document-status {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.document-status.pending {
    background: var(--warning-color);
    color: var(--white);
}

.document-status.signed {
    background: var(--success-color);
    color: var(--white);
}

.document-status.rejected {
    background: var(--error-color);
    color: var(--white);
}

.document-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-sm);
    padding-right: 80px;
}

.document-description {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.document-body {
    padding: var(--spacing-lg);
}

.document-meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.document-meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.document-meta-item i {
    width: 16px;
    text-align: center;
    color: var(--gray-400);
}

.document-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.document-actions .btn {
    flex: 1;
}

/* Profile Form */
.profile-container {
    max-width: 600px;
}

.profile-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.profile-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.profile-form input,
.profile-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
    background: var(--white);
}

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.profile-form input[readonly] {
    background: var(--gray-50);
    color: var(--gray-500);
}

.profile-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Signature Modal */
.signature-modal .modal-content {
    max-width: 600px;
}

.signature-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.signature-preview {
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.signature-preview.active {
    border-color: var(--primary-color);
    background: rgb(37 99 235 / 0.05);
}

.signature-text {
    font-family: 'Brush Script MT', cursive;
    font-size: var(--font-size-2xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.signature-info {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

/* Admin Tables */
.table-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Filters */
.filters {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--spacing-lg);
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.filter-group label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
}

.filter-group select,
.filter-group input {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--gray-500);
}

.empty-state i {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    color: var(--gray-300);
}

.empty-state h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-600);
}

.empty-state p {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-lg);
}

/* Progress Bar */
.progress {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    transition: width var(--transition-normal);
}

.progress-bar.success {
    background: var(--success-color);
}

.progress-bar.warning {
    background: var(--warning-color);
}

.progress-bar.error {
    background: var(--error-color);
}


/* Embaixador Styles */
.documents-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.search-box {
    position: relative;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

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

.documents-section {
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.documents-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Garantir que documentos fiquem em linha */
.documents-section .documents-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Seção de documentos assinados */
.documents-section:has(.text-success) .documents-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.document-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid var(--border-color);
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.document-card.pending {
    border-left-color: var(--warning-color);
}

.document-card.signed {
    border-left-color: var(--success-color);
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem 0.5rem;
}

.document-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.document-card.pending .document-status {
    color: var(--warning-color);
}

.document-card.signed .document-status {
    color: var(--success-color);
}

.document-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.document-body {
    padding: 0 1.5rem 1rem;
}

.document-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.document-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.document-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.meta-item i {
    width: 14px;
    color: var(--primary-color);
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.signature-info {
    padding: 1rem 1.5rem;
    background: var(--success-light);
    border-top: 1px solid var(--success-color);
}

.signature-preview {
    text-align: center;
}

.signature-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--success-color);
    margin-bottom: 0.5rem;
    font-family: 'Brush Script MT', cursive;
}

.signature-details {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-content p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.profile-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.profile-form-container .card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.profile-form-container .card-header {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-form-container .card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.profile-form-container .card-body {
    padding: 1.5rem;
}

#embaixador-profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#embaixador-profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

#embaixador-profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#embaixador-profile-form label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

#embaixador-profile-form input,
#embaixador-profile-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

#embaixador-profile-form input:focus,
#embaixador-profile-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#embaixador-profile-form input[readonly] {
    background-color: var(--bg-secondary);
    color: var(--text-muted);
    cursor: not-allowed;
}

#embaixador-profile-form textarea {
    resize: vertical;
    min-height: 80px;
}

#embaixador-profile-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.account-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-item span {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-secondary {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

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

.badge-accent {
    background: var(--accent-color);
    color: white;
}

.badge-blue {
    background: var(--secondary-color);
    color: white;
}

.badge-success {
    background: #10b981;
    color: white;
}

/* Header Content */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-text h1 {
    margin: 0;
}

.header-text p {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .documents-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .documents-row {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .profile-form-container {
        grid-template-columns: 1fr;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .documents-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-wrap: wrap;
    }
    
    .filter-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
}


/* Signature Modal Styles */
.signature-modal {
    max-width: 600px;
    margin: 0 auto;
}

.signature-modal .modal-content {
    max-width: 600px;
}

.signature-modal .modal-body {
    padding: 2rem;
}

.document-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.document-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.document-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.document-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.detail-item i {
    width: 16px;
    color: var(--primary-color);
}

.signature-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signature-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signature-form label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.signature-form input[type="text"] {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
}

.signature-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.signature-form .text-muted {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.signature-canvas-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.signature-canvas-container label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.canvas-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--white);
    overflow: hidden;
}

.canvas-wrapper:hover {
    border-color: var(--primary-color);
}

#signature-canvas {
    display: block;
    cursor: crosshair;
    background: var(--white);
}

.canvas-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    min-width: 300px;
    white-space: normal;
}

.canvas-controls {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.canvas-controls .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.signature-preview {
    background: var(--white);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.signature-display {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 4px;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
}

.signature-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Brush Script MT', cursive;
}

.signature-display.empty .signature-text {
    color: var(--text-muted);
    font-style: italic;
    font-size: 1rem;
    font-family: inherit;
}

.signature-terms {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning-color);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
}

.signature-info {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.signature-info h5 {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.signature-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signature-info li {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
}

.signature-info strong {
    color: var(--text-color);
}

/* Signature Certificate Styles */
.signature-certificate {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.certificate-header {
    background: linear-gradient(135deg, var(--success-color), var(--primary-color));
    color: white;
    padding: 2rem;
    text-align: center;
}

.certificate-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.certificate-header h4 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.certificate-id {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.certificate-body {
    padding: 2rem;
}

.certificate-field {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.certificate-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.certificate-field label {
    display: block;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.certificate-field div {
    font-size: 1rem;
    color: var(--text-color);
}

.signer-name {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    font-family: 'Brush Script MT', cursive !important;
}

.certificate-footer {
    background: var(--bg-light);
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.certificate-footer p {
    margin: 0.25rem 0;
    color: var(--text-muted);
}

/* Verification Result Styles */
.verification-result {
    max-width: 500px;
    margin: 0 auto;
}

.verification-header {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.verification-result.valid .verification-header {
    background: var(--success-light);
    color: var(--success-color);
}

.verification-result.invalid .verification-header {
    background: var(--error-light);
    color: var(--error-color);
}

.verification-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.verification-header h4 {
    margin: 0;
    font-size: 1.5rem;
}

.verification-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-field:last-child {
    border-bottom: none;
}

.detail-field label {
    font-weight: 500;
    color: var(--text-muted);
}

.detail-field div {
    font-weight: 600;
    color: var(--text-color);
}

.status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.status.valid {
    color: var(--success-color);
}

.status.invalid {
    color: var(--error-color);
}

/* Signature Details Modal */
.signature-details-modal {
    max-width: 500px;
    margin: 0 auto;
}

.signature-info-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.signature-field {
    margin-bottom: 1.5rem;
}

.signature-field label {
    display: block;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.signature-name-display {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Brush Script MT', cursive;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 4px;
    text-align: center;
}

.hash-display {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 4px;
    word-break: break-all;
}

.status-valid {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-weight: 600;
}

/* Signature Image */
.signature-image-container {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
}

.signature-image {
    max-width: 100%;
    max-height: 200px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.signature-image-error {
    padding: var(--spacing-lg);
    background: var(--error-50);
    border: 1px solid var(--error-200);
    border-radius: var(--radius-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .signature-modal {
        max-width: 100%;
    }
    
    .certificate-header {
        padding: 1.5rem;
    }
    
    .certificate-body {
        padding: 1.5rem;
    }
    
    .detail-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .signature-info ul {
        padding-left: 0;
        list-style: none;
    }
    
    .signature-info li {
        padding: 0.25rem 0;
    }
}

/* Canvas de Assinatura Digital */
.signature-canvas-container {
    margin: 20px 0;
}

.canvas-wrapper {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    margin: 10px 0;
    cursor: crosshair;
    transition: border-color 0.3s ease;
}

.canvas-wrapper:hover {
    border-color: #3498db;
}

.canvas-wrapper canvas {
    display: block;
    border-radius: 6px;
    background: white;
}

.canvas-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    z-index: 1;
}

.canvas-overlay span {
    text-align: center;
    padding: 20px;
}

.canvas-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.canvas-controls .btn {
    font-size: 12px;
    padding: 6px 12px;
}

/* Melhorias no modal de assinatura */
.signature-modal {
    max-width: 600px;
}

.signature-form {
    margin-top: 20px;
}

.signature-preview {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.signature-display {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Brush Script MT', cursive;
    font-size: 24px;
    color: #2c3e50;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.signature-display.empty .signature-text {
    color: #999;
    font-style: italic;
}

/* Responsividade para o canvas */
@media (max-width: 768px) {
    .canvas-wrapper canvas {
        width: 100% !important;
        height: auto !important;
    }
    
    .canvas-controls {
        flex-direction: column;
    }
    
    .canvas-controls .btn {
        width: 100%;
    }
}

/* Animações para o canvas */
.canvas-wrapper.drawing {
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

/* Estilos para dispositivos touch */
@media (hover: none) and (pointer: coarse) {
    .canvas-wrapper {
        border-width: 3px;
    }
    
    .canvas-overlay span {
        font-size: 16px;
    }
}

/* Modal de Alterar Senha */
#change-password-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

#change-password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#change-password-form label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

#change-password-form input[type="password"] {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
}

#change-password-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#change-password-form input[type="password"].valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

#change-password-form input[type="password"].invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

#change-password-form input[type="password"]:invalid {
    border-color: var(--error-color);
}

#change-password-form .text-muted {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.modal-footer .btn {
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsivo para modal */
@media (max-width: 480px) {
    #change-password-form {
        gap: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* Modal de Adicionar Documento */
#add-document-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

#add-document-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#add-document-form label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

#add-document-form input[type="text"],
#add-document-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
    font-family: inherit;
}

#add-document-form input[type="text"]:focus,
#add-document-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#add-document-form input[type="file"] {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
    cursor: pointer;
}

#add-document-form input[type="file"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#add-document-form input[type="file"]::-webkit-file-upload-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease;
}

#add-document-form input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--primary-dark);
}

#add-document-form .text-muted {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

#add-document-form textarea {
    resize: vertical;
    min-height: 80px;
}

/* Responsivo para modal de documento */
@media (max-width: 480px) {
    #add-document-form {
        gap: 1rem;
    }
    
    #add-document-form input[type="file"]::-webkit-file-upload-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Estilo para inputs de arquivo em modais de edição */
.custom-file-input {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-file-input:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-50);
}

.custom-file-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-file-input::-webkit-file-upload-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease;
}

.custom-file-input::-webkit-file-upload-button:hover {
    background: var(--primary-dark);
}

/* Responsivo para inputs de arquivo customizados */
@media (max-width: 480px) {
    .custom-file-input::-webkit-file-upload-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Badges clicáveis */
.clickable-badge {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Modal de assinaturas */
.signatures-modal-tabs {
    width: 100%;
}

.signatures-tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1rem;
}

.signatures-tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.signatures-tab-btn:hover {
    color: var(--primary-color);
    background-color: var(--gray-50);
}

.signatures-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: var(--primary-50);
}

.signatures-tab-content {
    position: relative;
}

.signatures-tab-pane {
    display: none;
}

.signatures-tab-pane.active {
    display: block;
}

.signature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background-color: var(--white);
}

.signature-info {
    flex: 1;
}

.signature-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.signature-email {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.signature-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.signature-hash {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    background-color: var(--gray-50);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    word-break: break-all;
}

/* Imagem de assinatura no modal do embaixador (tamanho maior) */
.signature-image {
    width: 350px;
    height: 100px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    object-fit: contain;
    background-color: var(--gray-50);
}

/* Imagem de assinatura no modal do admin (tamanho menor) */
.admin-signature-image {
    width: 150px;
    height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    object-fit: contain;
    background-color: var(--gray-50);
}

.pending-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background-color: var(--white);
}

.pending-user-info {
    flex: 1;
}

.pending-user-name {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.pending-user-email {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pending-user-assigned {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.empty-signatures {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-signatures i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Modal de Atribuir Documento */
.assign-modal-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--primary-color);
    background-color: var(--gray-50);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: var(--primary-50);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-header h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.users-list {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    background-color: var(--white);
}

.users-list .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.users-list .form-check:hover {
    background-color: var(--gray-50);
    border-radius: 4px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.users-list .form-check:last-child {
    border-bottom: none;
}

.users-list .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.users-list .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.users-list .form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.users-list .form-check-label {
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    flex: 1;
}

.users-list .text-muted {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsivo para modal de atribuir documento */
@media (max-width: 768px) {
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: none;
        border-right: 3px solid transparent;
        justify-content: flex-start;
    }
    
    .tab-btn.active {
        border-right-color: var(--primary-color);
        border-bottom-color: transparent;
    }
    
    .tab-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .tab-header h4 {
        text-align: center;
    }
}

/* Estilos gerais para formulários em modais */
.modal .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.modal .form-group:last-child {
    margin-bottom: 0;
}

.modal label {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.modal input[type="text"],
.modal input[type="email"],
.modal input[type="password"],
.modal textarea,
.modal select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
    font-family: inherit;
}

.modal input[type="text"]:focus,
.modal input[type="email"]:focus,
.modal input[type="password"]:focus,
.modal textarea:focus,
.modal select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal .text-muted {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Responsivo para modais gerais */
@media (max-width: 480px) {
    .modal .form-group {
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }
    
    .users-list {
        padding: 0.8rem;
    }
    
    .users-list .form-check {
        padding: 0.4rem 0;
    }
}

/* Switch Toggle */
.switch-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #28a745;
}

input:focus + .slider {
    box-shadow: 0 0 1px #28a745;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.switch-label {
    font-size: 11px;
    color: #666;
    white-space: nowrap;
}

/* Linha inativa */
.inactive-row {
    opacity: 0.6;
    background-color: #f8f9fa;
}

.inactive-row td {
    color: #6c757d;
}

/* Ajuste do btn-group para acomodar o switch */
.btn-group {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.btn-group .btn {
    flex-shrink: 0;
}

/* Grupo de botões verticais para ações de usuário */
.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.btn-group-vertical .btn {
    width: 100%;
    font-size: 11px;
    padding: 4px 8px;
    white-space: nowrap;
}

/* Botão de ativação */
.btn-success.btn-sm {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.btn-success.btn-sm:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Estilos para modal de detalhes do usuário */
.user-details h4 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.user-details .row {
    margin-bottom: 15px;
}

.user-details strong {
    color: #34495e;
    font-weight: 600;
}

.user-details .col-md-6 {
    padding: 0 10px;
}

.user-details .col-md-12 {
    padding: 0 10px;
}

/* Badges de status */
.badge-success {
    background-color: #28a745;
    color: white;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-danger {
    background-color: #dc3545;
    color: white;
}

.badge-secondary {
    background-color: #6c757d;
    color: white;
}

/* Estilos para formulários */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    background-color: white;
    color: #374151;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control:disabled {
    background-color: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

/* Estilos específicos para selects */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}



/* Modal de relatórios personalizados */
#custom-report-form .form-group {
    margin-bottom: 1rem;
}

#custom-report-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

#custom-report-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

#custom-report-form .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#custom-report-form input[type="date"] {
    position: relative;
    background: white;
}

#custom-report-form input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

#custom-report-form select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

