/* ==========================================================================
   USERS TAB STYLES
   ========================================================================== */

.users-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 0;
}

/* Header */
.users-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

.header-left h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.header-left p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.header-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Filters */
.users-filters {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: end;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Desktop layout for filters - FORCE HORIZONTAL LAYOUT */
@media (min-width: 1024px) {
    .users-filters {
        display: grid !important;
        grid-template-columns: 2fr 1fr 1fr 1fr !important;
        align-items: end !important;
        gap: 20px !important;
        flex-direction: row !important;
    }

    .filter-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 0 !important;
    }
}

.filter-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-group select,
.filter-group input {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 100%;
    transition: all 0.2s ease;
    background: white;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

/* Table Section */
.users-table-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.table-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-stats {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.table-container {
    position: relative;
    min-height: 300px;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #d4a574;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

/* Users Table */
.users-table {
    width: 100%;
}

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

.users-table th,
.users-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.users-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
    white-space: nowrap;
}

.users-table tr:hover {
    background: #f8fafc;
}

/* Compact table columns */
.users-table th:nth-child(1) { width: 20%; } /* User info */
.users-table th:nth-child(2) { width: 15%; } /* Email */
.users-table th:nth-child(3) { width: 10%; } /* Phone */
.users-table th:nth-child(4) { width: 8%; }  /* Role */
.users-table th:nth-child(5) { width: 12%; } /* Organization */
.users-table th:nth-child(6) { width: 12%; } /* Manager */
.users-table th:nth-child(7) { width: 8%; }  /* Status */
.users-table th:nth-child(8) { width: 10%; } /* Last login */
.users-table th:nth-child(9) { width: 5%; }  /* Actions */

/* User Info - specific to users tab */
.users-tab .user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    line-height: 1.3;
}

.user-username {
    font-size: 0.75rem;
    color: #64748b;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    opacity: 0.8;
}

.user-email {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.3;
}

.user-phone {
    color: #64748b;
    font-size: 0.75rem;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.organization-name {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.3;
}

.last-login {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.3;
}

.manager-info {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.3;
}

.manager-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.manager-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.8rem;
}

.manager-phone {
    font-size: 0.75rem;
    color: #64748b;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.no-manager {
    color: #94a3b8;
    font-style: italic;
}

/* Badges */
.role-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.role-user {
    background: rgba(212, 165, 116, 0.15);
    color: #d4a574;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.role-manager {
    background: rgba(212, 165, 116, 0.2);
    color: #b8935f;
    border: 1px solid rgba(212, 165, 116, 0.4);
}

.role-administrator {
    background: rgba(212, 165, 116, 0.25);
    color: #a08450;
    border: 1px solid rgba(212, 165, 116, 0.5);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.action-btn {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.action-btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-btn.edit:hover {
    border-color: #d4a574;
    color: #d4a574;
    background: rgba(212, 165, 116, 0.1);
}

.action-btn.activate:hover {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.action-btn.deactivate:hover {
    border-color: #f59e0b;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

/* Enhanced User Info Display */
.users-tab .user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a574, #c49464);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    align-items: center;
}

/* Improved table row styling */
.users-table tbody tr {
    transition: all 0.2s ease;
}

.users-table tbody tr:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Better spacing for table cells */
.users-table td:first-child {
    padding-left: 24px;
}

.users-table td:last-child {
    padding-right: 24px;
}

/* Enhanced role badges with icons */
.role-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin-right: 6px;
}

/* Status indicators with better styling */
.status-active::before {
    content: '✅';
    margin-right: 4px;
}

.status-inactive::before {
    content: '❌';
    margin-right: 4px;
}

.action-btn.personalize:hover {
    border-color: #17a2b8;
    color: #17a2b8;
}

.action-btn.delete:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.no-actions {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: italic;
}

/* No Data State */
.no-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
}

.no-data-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-data h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-secondary);
}

.no-data p {
    margin: 0;
    font-size: 0.875rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

/* User Form */
.user-form {
    padding: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.form-group input[readonly] {
    background: var(--glass-bg-hover);
    color: var(--text-muted);
    cursor: not-allowed;
}

.form-group small {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-section {
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

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

/* Checkbox Groups */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--glass-border);
    border-radius: 4px;
    background: var(--glass-bg);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
    display: inline-block;
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.checkbox-group small {
    margin-left: 2.75rem;
    margin-top: 0.25rem;
}

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

.modal-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--error-color);
}

.notification-info {
    border-left: 4px solid var(--primary-color);
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.notification-close:hover {
    background: var(--glass-bg-hover);
}

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

/* Card Layout for Mobile */
.users-cards {
    display: none;
    gap: 1rem;
}

.user-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #d4a574;
}

.user-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

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

.user-card-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.user-card-username {
    font-size: 0.8rem;
    color: #64748b;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    margin-bottom: 0.5rem;
}

.user-card-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex: 1;
}

.user-card-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #e2e8f0;
}

.user-card-detail i {
    width: 16px;
    color: #d4a574;
    font-size: 0.9rem;
}

.user-card-detail-label {
    color: #64748b;
    font-weight: 500;
    min-width: 80px;
}

.user-card-detail-value {
    color: #1e293b;
    font-weight: 500;
}

.user-card-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.user-card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 160px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.65rem;
    color: white;
    position: relative;
    flex-shrink: 0;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.action-btn.edit-btn {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    border: 1px solid #cbd5e1;
}

.action-btn.edit-btn:hover {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #334155;
    border-color: #94a3b8;
}

.action-btn.toggle-btn.activate {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.action-btn.toggle-btn.activate:hover {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #14532d;
    border-color: #86efac;
}

.action-btn.toggle-btn.deactivate {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #92400e;
    border: 1px solid #fde68a;
}

.action-btn.toggle-btn.deactivate:hover {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
    border-color: #fcd34d;
}

.action-btn.delete-btn {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.action-btn.delete-btn:hover {
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #7f1d1d;
    border-color: #f87171;
}

/* Tooltip for action buttons */
.action-btn {
    position: relative;
}

.action-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

.action-btn::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #1f2937;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.action-btn:hover::after,
.action-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1023px) and (min-width: 769px) {
    .users-filters {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .users-filters {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .filter-group {
        width: 100%;
    }
}

/* Always show cards only */

.users-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .users-container {
        padding: 1rem;
        gap: 1rem;
    }

    .users-header {
        flex-direction: column;
        gap: 1rem;
    }

    .header-actions {
        justify-content: stretch;
    }

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

    .users-filters {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        min-width: auto;
    }

    /* Mobile specific styles for cards */
    .users-cards {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .users-header {
        margin-bottom: 1rem;
    }

    .users-filters {
        padding: 1rem;
    }

    .table-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .user-card {
        padding: 0.75rem;
    }

    .user-card-details {
        grid-template-columns: 1fr;
    }

    .user-card-badges {
        justify-content: flex-start;
    }

    .action-btn {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}

/* Compact table improvements */
@media (min-width: 769px) {
    .users-table th:nth-child(2),
    .users-table td:nth-child(2) {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .users-table th:nth-child(3),
    .users-table td:nth-child(3) {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .users-table th:nth-child(5),
    .users-table td:nth-child(5) {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ==========================================================================
   TRIAL ACCESS STYLES
   ========================================================================== */

.trial-days-group {
    transition: all 0.3s ease;
}

.trial-days-group input[type="number"] {
    width: 100%;
    max-width: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    margin-bottom: 5px;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.4;
}
