
/* Card Styles */
.adminUser .card {
    background: white;
    overflow: hidden;
}

.adminUser .card-header {
    background: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.adminUser .card-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
}

.adminUser .card-content {
    padding: 1.5rem;
}
.adminUser .active_wrapper{
    border-radius: 10px; 
    border: 1px solid #d3d3d4;
    padding: 10px;
    min-height: 600px;
}
.adminUser .inactive_wrapper{
    border-radius: 10px; 
    border: 1px solid #d3d3d4;
    padding: 10px;
    min-height: 600px;
}
/* Search Styles */
.adminUser .search-container {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.adminUser .search-box {
    position: relative;
    max-width: 400px;
}

.adminUser .search-icon {
    position: absolute;
    left: 5px;
    top: 43%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #6b7280;
}

.adminUser .search-box input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.adminUser .search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Button Styles */
.adminUser .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.adminUser .btn[disabled]{
    background: grey;
    cursor: default;
}

.adminUser .btn-primary {
    background: #2d5486;
    color: white;
}

.adminUser .btn-primary:not([disabled]):hover {
    background: #437E9F;
}

.adminUser .btn-outline {
    background: #2d5486;
    color: white;
    border: 1px solid #cbd5e1;
}

.adminUser .btn-outline:not([disabled]):hover {
    background: #437E9F;
}

.adminUser .btn-destructive {
    background: #dc2626;
    color: white;
}

.adminUser .btn-destructive:not([disabled]):hover {
    background: #b91c1c;
}

.adminUser .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 10px;
    min-width:50px;
}

.adminUser .btn-icon {
    width: 1rem;
    height: 1rem;
}

/* Table Styles */
.adminUser .table-container {
    overflow-x: auto;
}

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

.adminUser .user-table thead tr {
    background: #77b2e3;
    border-bottom: 1px solid #e0f2fe;
}

.adminUser .user-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.adminUser .user-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
    font-size: 12px;
}

.adminUser .user-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.adminUser .user-table tbody tr:hover {
    background: #f0f9ff;
}

.adminUser .user-table td {
    padding: 1rem;
    color: #4b5563;
    width:150px;
}

.adminUser .user-table td:first-child {
    font-weight: 500;
    color: #1f2937;
}

/* Badge Styles */
.adminUser .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 600;
}

.adminUser .badge-active {
    background: #dcfce7;
    color: #166534;
}

.adminUser .badge-expired {
    background: #fecaca;
    color: #991b1b;
}

.adminUser .badge-stripe {
    background: #dbeafe;
    color: #1e40af;
}

.adminUser .badge-manual {
    background: #f3f4f6;
    color: #374151;
}

/* Pagination Styles */
.adminUser .pagination-container {
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
}

.adminUser .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.adminUser .pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.adminUser .pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
}

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

.adminUser .page-numbers {
    display: flex;
    gap: 0.25rem;
}

.adminUser .page-number {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    min-width: 40px;
    text-align: center;
}

.adminUser .page-number:hover {
    background: #f3f4f6;
}

.adminUser .page-number.active {
    background: #77b2e3;
    color: white;
    border-color: #77b2e3;
}

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

.adminUser .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.adminUser .form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.adminUser .form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.adminUser .input-field:focus {
    outline: none;
    border-color: #3b82f6; /* Blue 500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.adminUser .error-message {
    color: #ef4444 !important; /* Red 500 */
    font-size: 12px !important;
    font-weight: 500;
}

.adminUser .form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.adminUser .form-actions .btn {
    flex: 1;
}

/* Action Buttons */
.adminUser .action-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Empty State */
.adminUser .empty-state {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.adminUser .empty-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: #93c5fd;
}

.adminUser .empty-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.adminUser .empty-subtitle {
    font-size: 0.875rem;
}

/* Modal Styles */
.adminUser .modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.adminUser .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.adminUser .modal-content h3 {
    margin-bottom: 1rem;
    margin-top: 20px;
    color: #1f2937;
    font-size: 28px;
}

.adminUser .modal-content p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    font-size: 18px;
}

.adminUser .modal-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* Full Page Loader */
.full-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.loader-content {
    text-align: center;
    color: white;
}

.main-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loader-text {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 640px) {
    .header {
        padding: 2rem 1rem;
    }
    
    .header-title h1 {
        font-size: 2rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .user-table {
        font-size: 0.875rem;
    }
    
    .user-table th,
    .user-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-box {
        max-width: none;
    }
}