
.alert{
    margin-bottom: 1rem;
    border-radius: 5px;
}

.lc-custom-page {   
    color: #e0e0e0;    
    line-height: 1.5;
}

.lc-custom-page .container {
    width: 100% !important;
    margin: 0 auto;
    padding: 0 !important;
}

.lc-custom-page h1 {
    color: #FCB525;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

/* Filter Form Styles */
.lc-custom-page .filter-form {
    background-color: #2d2d2d;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lc-custom-page .filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px; 
}

.lc-custom-page .form-group {
    display: flex;
    flex-direction: column;
}

.lc-custom-page .form-group label {
    color: #FCB525;
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 0.8rem;
}

.lc-custom-page .form-group input,
.lc-custom-page .form-group select {
    padding: 6px 8px;
    background-color: #404040 !important;
    border: 1px solid #555;
    border-radius: 3px;
    color: #e0e0e0 !important;
    font-size: 0.8rem;
    font-weight: 400 !important;
    transition: all 0.3s ease;
    height: auto !important;
}

.lc-custom-page .form-group input:focus,
.lc-custom-page .form-group select:focus {
    outline: none !important;
    border-color: #FCB525 !important;
    background-color: #4a4a4a !important;
    box-shadow: none !important;
}

.lc-custom-page .form-group input::placeholder {
    color: #999;
}

.lc-custom-page .button-group {
    display: flex;
    gap: 8px;
    justify-content: flex-end;    
}

.lc-custom-page button {
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;    
}

.lc-custom-page .btn-primary {
    background-color: #FCB525;
    color: #1a1a1a;
}

.lc-custom-page .btn-primary:hover {
    background-color: #e6a522;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lc-custom-page .btn-secondary {
    background-color: #555;
    color: #e0e0e0;
    border: 2px solid #666;
}

.lc-custom-page .btn-secondary:hover {
    background-color: #666;
    border-color: #777;
    transform: translateY(-1px);
}

/* Table Styles */
.lc-custom-page .table-container {
    background-color: #2d2d2d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.mindfresh-page .table-container th {
    background-color: #FCB525;
    color: #1a1a1a;
    font-weight: 700;
    padding: 12px 15px;
    text-align: left;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

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

.lc-custom-page th {
    background-color: #FCB525;
    color: #1a1a1a;
    font-weight: 700;
    padding: 12px 15px;
    text-align: left;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.lc-custom-page th:first-child {
    border-radius: 8px 0 0 0;
}

.lc-custom-page th:last-child {
    border-radius: 0 8px 0 0;
}

.lc-custom-page td {
    padding: 10px 15px;
    border-bottom: 1px solid #404040;
    vertical-align: middle;
    font-weight: 400;
}

.lc-custom-page tr:nth-child(even) {
    background-color: #333;
}

.lc-custom-page tr:hover {
    background-color: #3a3a3a;
    transition: background-color 0.2s ease;
}

.lc-custom-page tr:last-child td {
    border-bottom: none;
}

.lc-custom-page .status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    min-width: 60px;
}

.lc-custom-page .status.resume {
    background-color: rgb(34 112 197 / 15%);
    color: #2278c5;
}

.lc-custom-page .status.active,
.lc-custom-page .status.completed,
.lc-custom-page .status.approved {
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.lc-custom-page .status.inactive,
.lc-custom-page .status.disabled  {
    background-color: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

.lc-custom-page .status.pending,
.lc-custom-page .status.incomplete {
    background-color: rgba(251, 191, 36, 0.15);
    color: #f59e0b;
}

.lc-custom-page .status.error,
.lc-custom-page .status.rejected  {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.lc-custom-page .actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lc-custom-page .action-btn {
    padding: 6px 8px;
    font-size: 0.8rem;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    background-color: transparent;
    color: #6b7280;
}

.lc-custom-page .action-btn:hover {
    background-color: #404040;
    color: #e0e0e0;
}

/* Multi-select checkbox styles */
.lc-custom-page .table-checkbox {
    transform: scale(1.2);
    accent-color: #FCB525;
}

/* Empty state styles */
.lc-custom-page .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-style: italic;
}

.lc-custom-page .empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #6b7280;
}

/* --- Pagination as single rounded bar --- */
.pagination-container {
    margin-top: 5px;
}

.lc-custom-page nav.pagination > ul.pagination {
    margin: 0;
    display: inline-flex;            
    gap: 0;                        
    border-radius: 5px;
    overflow: hidden;               
    background-color: #404040;      
    border: 1px solid #555;
}

.lc-custom-page .page-link {
    border: none;
    border-radius: 0;                
    background: transparent;
    color: #e0e0e0;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lc-custom-page .page-item.active .page-link {
    background-color: #FCB525;
    color: #1a1a1a;
    font-weight: 600;
}

.lc-custom-page .page-link:hover {
    background-color: rgba(252,181,37,0.15);
    color: #FCB525;
}

.lc-custom-page .page-item.disabled .page-link {
    background: transparent;
    color: #9ca3af;
}

.lc-custom-page .page-item:first-child .page-link {
    border-radius: 5px 0 0 5px;
}

.lc-custom-page .page-item:last-child .page-link {
    border-radius: 0 5px 5px 0;
}

/* --- Custom Tabs for lc-custom-page --- */
/* --- Custom Tabs for lc-custom-page --- */
.lc-custom-page .nav-tabs {
    border-bottom: 2px solid #404040;
    margin-bottom: 20px;
}

.lc-custom-page .nav-tabs .nav-item {
    margin-bottom: -2px;
}

.lc-custom-page .nav-tabs .nav-link {
    background-color: #2d2d2d;
    border: 1px solid #404040;
    border-bottom: none;
    color: #e0e0e0;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
}

/* Hover effect similar to pagination */
.lc-custom-page .nav-tabs .nav-link:hover {
    background-color: #404040;   /* dark gray, like pagination hover */
    color: #e0e0e0;              /* keep light text */
}

/* Active tab */
.lc-custom-page .nav-tabs .nav-link.active {
    background-color: #FCB525;
    color: #1a1a1a;
    font-weight: 600;
    border-color: #FCB525 #FCB525 transparent;
}

/* Error */
.lc-custom-page .error-message,
.lc-page-application .error-message {
  background-color: #3a1a1a;
  color: #f5686a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 4px;
  display: inline-block;
}

/* Warning */
.lc-custom-page .warning-message,
.lc-page-application .warning-message {
  background-color: #3a2f1a;
  color: #f5c86a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 4px;
  display: inline-block;
}

/* Success */
.lc-custom-page .success-message,
.lc-page-application .success-message {
  background-color: #1a3a1e;
  color: #6af58a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 4px;
  display: inline-block;
}

/* Disabled */
.lc-custom-page .disabled-message,
.lc-page-application .disabled-message {
  background-color: #2f2f2f;
  color: #aaaaaa;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 4px;
  display: inline-block;
}

.lc-page-application .expandable-section .error-message {
    color: #dc2626; /* red-600 */
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.lc-page-application .expandable-section .error {
    border-color: #dc2626 !important;
}

.lc-page-application .expandable-section .error-badge {
    color: #fff;
    background: #dc2626;
    border-radius: 50%;
    font-size: 0.75rem;
    padding: 0.1rem 0.4rem;
}

/* Container for status header */
.lc-custom-page .status-header-container {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Flex layout */
.lc-custom-page .status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1rem;
}

.lc-custom-page .actions-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: #2a2a2a87;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

/* Status Info */
.lc-custom-page .status-info {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.lc-custom-page .status-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  margin-right: 2px;
}

.lc-custom-page .form-id {
  font-size: 0.8rem;
  color: #e0e0e0;
  font-weight: 500;
}

.lc-custom-page .form-step {
  background: #404040;
  color: #e0e0e0;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Small action buttons */
.lc-custom-page .status-right .action-btn {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .lc-custom-page .filter-row {
        grid-template-columns: 1fr;
    }
    
    .lc-custom-page .table-container {
        overflow-x: auto;
    }
    
    .lc-custom-page table {
        min-width: 600px;
    }
    
    .lc-custom-page .button-group {
        justify-content: stretch;
    }
    
    .lc-custom-page .button-group button {
        flex: 1;
    }
}
