@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    /* Professional Indigo Palette */
    --primary-color: #1B2B7C;
    /* Indigo 600 */
    --primary-light: #eef2ff;
    /* Indigo 50 */
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-body: #f3f4f6;
    --sidebar-width: 260px;
    --card-radius: 16px;
    --success-color: #10B981;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: "Outfit", sans-serif;
    background-color: var(--bg-body) !important;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* --- Sidebar Styling --- */
#sidebar-wrapper {
    min-height: 100vh;
    margin-left: 0;
    transition: margin .25s ease-out;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    width: var(--sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.sidebar-heading {
    padding: 1.5rem 1.5rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    background: linear-gradient(to right, #ffffff, #fafafa);
}

.list-group-item {
    border: none;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease-in-out;
    margin: 4px 12px;
    border-radius: 8px;
    width: 93%;
}

.list-group-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.list-group-item.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

/* --- Main Content Wrapper --- */
#page-content-wrapper {
    width: 100%;
    margin-left: var(--sidebar-width);
    /* Push content right by default */
    transition: margin .25s ease-out;
    min-height: 100vh;
}

/* Toggled State (Hiding Sidebar) */
#wrapper.toggled #sidebar-wrapper {
    margin-left: calc(-1 * var(--sidebar-width));
}

#wrapper.toggled #page-content-wrapper {
    margin-left: 0;
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 2rem;
}

.search-input {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding-left: 15px;
    width: 250px;
    transition: all 0.3s;
}

.search-input:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* --- Cards --- */
.card {
    border: none;
    border-radius: var(--card-radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

/* --- Timeline (Creative Element) --- */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid #e5e7eb;
    padding-bottom: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--primary-color);
}

.timeline-item:last-child {
    border-left: none;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dash-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.dash-btn:hover {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-container {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.table {
    margin: 0;
}

.table thead {
    background: #F9FAFB;
    border-bottom: 2px solid #E5E7EB;
}

.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6B7280;
    padding: 1rem 1.5rem;
    border: none;
}

.table tbody td {
    padding: 1.25rem 1.5rem;
    vertical-align: middle;
    border-bottom: 1px solid #F3F4F6;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr {
    transition: background 0.2s;
}

.table tbody tr:hover {
    background: #F9FAFB;
}

.role-name {
    font-weight: 600;
    color: #111827;
}

.permissions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.permission-badge {
    background: #000000;
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.813rem;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-edit {
    background: #000000d6;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-edit:hover {
    background: #FCD34D;
    color: #92400E;
}

.btn-delete {
    background: #FEE2E2;
    color: #DC2626;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-delete:hover {
    background: #FCA5A5;
    color: #991B1B;
}

.permission-name {
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
}

.permission-icon {
    width: 36px;
    height: 36px;
    background: #1B2B7C;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.back-link {
    color: #6B7280;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary-color);
}

.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    width: 32px;
    height: 32px;
    background: #EEF2FF;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.938rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.permission-item {
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.permission-item:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.permission-item.checked {
    background: #EEF2FF;
    border-color: var(--primary-color);
}

.permission-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.permission-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.permission-checkbox label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    color: #374151;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.permission-icon-small {
    width: 24px;
    height: 24px;
    background: white;
    color: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
    margin-top: 2rem;
}

.btn-save {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-save:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-cancel {
    background: #F3F4F6;
    color: #6B7280;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel:hover {
    background: #E5E7EB;
    color: #374151;
}

.helper-text {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.select-all-container {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #F9FAFB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.select-all-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.select-all-label {
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.info-box {
    background: #EFF6FF;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-box-title {
    font-weight: 600;
    color: #1E40AF;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box-text {
    font-size: 0.875rem;
    color: #1E40AF;
    margin: 0;
    line-height: 1.5;
}

.examples-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.examples-list li {
    padding: 0.25rem 0;
    color: #1E40AF;
    font-size: 0.875rem;
}

.examples-list li:before {
    content: "ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢";
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.current-value-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #EEF2FF;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F3F4F6;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    width: 36px;
    height: 36px;
    background: #EEF2FF;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-control,
.form-select {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    font-size: 0.938rem;
    transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.color-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.color-input-wrapper input[type="color"] {
    width: 60px;
    height: 42px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    padding: 2px;
}

.color-input-wrapper input[type="text"] {
    flex: 1;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 2px solid #E5E7EB;
}

.btn-save {
    background: var(--success-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-save:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-cancel {
    background: #F3F4F6;
    color: #6B7280;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel:hover {
    background: #E5E7EB;
    color: #374151;
}

.helper-text {
    font-size: 0.813rem;
    color: #6B7280;
    margin-top: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.helper-text i {
    margin-top: 2px;
}

.file-input-wrapper {
    position: relative;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    background: #F9FAFB;
    cursor: pointer;
    transition: all 0.2s;
}

.file-input-label:hover {
    border-color: var(--primary-color);
    background: #EEF2FF;
}

.file-input-label i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.file-input-text {
    text-align: center;
}

.file-input-text strong {
    display: block;
    color: #374151;
    margin-bottom: 0.25rem;
}

.file-input-text span {
    font-size: 0.813rem;
    color: #6B7280;
}

input[type="file"] {
    display: none;
}

.preview-image {
    max-width: 200px;
    max-height: 200px;
    margin-top: 1rem;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.brand-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.brand-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #F3F4F6;
    position: relative;
}

.brand-logo {
    width: 100px;
    height: 64px;
    border-radius: 10px;
    object-fit: contain !important;
    border: 2px solid #E5E7EB;
    background: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #9CA3AF;
    flex-shrink: 0;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.brand-info {
    flex: 1;
    min-width: 0;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-identifier {
    font-size: 0.813rem;
    color: #6B7280;
    background: #F3F4F6;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    display: inline-block;
    font-family: monospace;
}

.brand-status {
    position: absolute;
    bottom: -8rem;
    right: 1rem;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.status-badge.active {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.inactive {
    background: #FEE2E2;
    color: #991B1B;
}

.status-badge i {
    font-size: 0.625rem;
}

.brand-body {
    padding: 1.5rem;
}

.brand-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-icon {
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.detail-value {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-palette {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #E5E7EB;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.688rem;
    color: #9CA3AF;
    white-space: nowrap;
}

.integration-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.integration-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.integration-badge.teamwork {
    background: #E0F2FE;
    color: #075985;
}

.integration-badge.trello {
    background: #DBEAFE;
    color: #1E40AF;
}

.brand-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #F3F4F6;
    background: #F9FAFB;
    display: flex;
    gap: 0.75rem;
}


.btn-edit:hover {
    background: #FCD34D;
    color: #92400E;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.empty-state-icon {
    font-size: 4rem;
    color: #D1D5DB;
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: #6B7280;
    margin-bottom: 2rem;
}

.multi-select-container {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1rem;
    background: #F9FAFB;
    max-height: 250px;
    overflow-y: auto;
}

.multi-select-item {
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 2px solid #E5E7EB;
    transition: all 0.2s;
    cursor: pointer;
}

.multi-select-item:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.multi-select-item.selected {
    background: #EEF2FF;
    border-color: var(--primary-color);
}

.multi-select-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.multi-select-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.multi-select-checkbox label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    color: #374151;
    flex: 1;
}

.selected-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #EEF2FF;
    color: var(--primary-color);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: auto;
}

.form-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 2px solid #E5E7EB;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    width: 300px;
    font-size: 0.875rem;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
}

.btn-add-employee {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-employee:hover {
    background: #4338CA;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-icon.total {
    background: #EEF2FF;
    color: #1B2B7C;
}

.stat-icon.active {
    background: #D1FAE5;
    color: #059669;
}

.stat-icon.inactive {
    background: #FEE2E2;
    color: #DC2626;
}

.stat-icon.departments {
    background: #FEF3C7;
    color: #D97706;
}

.stat-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.stat-content p {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
}

.employee-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.employee-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1B2B7C;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.employee-details h4 {
    font-size: 0.938rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.employee-details p {
    font-size: 0.813rem;
    color: #6B7280;
    margin: 0;
}

.employee-code {
    font-family: monospace;
    background: #F3F4F6;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #6B7280;
}

.department-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: #1B2B7C;
    color: white;
    border-radius: 6px;
    font-size: 0.813rem;
    font-weight: 500;
}

.roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.role-badge {
    padding: 0.375rem 0.625rem;
    background: #1B2B7C;
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.status-badge {
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    font-size: 0.813rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge.active {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.inactive {
    background: #FEE2E2;
    color: #991B1B;
}

.status-badge i {
    font-size: 0.625rem;
}

.employment-info {
    font-size: 0.813rem;
}

.employment-info p {
    margin: 0 0 0.25rem 0;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.employment-info i {
    color: #9CA3AF;
    width: 14px;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.btn-view {
    background: #1B2B7C;
    color: white;
    border: none;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.813rem;
}

@media (max-width: 768px) {
    .content-area {
        padding: 1rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .brand-footer {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .form-card {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-save,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .content-area {
        padding: 1rem;
    }

    .form-card {
        padding: 1.5rem;
    }

    .permissions-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-save,
    .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .permissions-list {
        flex-direction: column;
    }

    .action-buttons {
        flex-direction: column;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: calc(-1 * var(--sidebar-width));
    }

    #page-content-wrapper {
        margin-left: 0;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: 0;
    }

    #wrapper.toggled #page-content-wrapper {
        margin-left: 0;
        /* Overlay mode */
    }

    #wrapper.toggled {
        overflow: hidden;
        /* Prevent scrolling when menu is open */
    }
}

.brand-logo img {
    object-fit: contain;
}


/* Profile Card */
.profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ac4d56 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.profile-designation {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.profile-body {
    padding: 1.5rem;
}

.profile-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #F3F4F6;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-icon {
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    flex-shrink: 0;
}

.profile-info-content {
    flex: 1;
    min-width: 0;
}

.profile-info-label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.profile-info-value {
    font-size: 0.938rem;
    color: #111827;
    font-weight: 600;
    word-wrap: break-word;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge.active {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.inactive {
    background: #FEE2E2;
    color: #991B1B;
}

/* Details Sections */
.details-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #F3F4F6;
}

.section-icon {
    width: 36px;
    height: 36px;
    background: #EEF2FF;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-label {
    font-size: 0.813rem;
    color: #6B7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: #111827;
    font-weight: 600;
}

.info-value.monospace {
    font-family: monospace;
    background: #F9FAFB;
    padding: 0.5rem;
    border-radius: 6px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.role-card {
    background: #EEF2FF;
    border: 2px solid #C7D2FE;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.role-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.role-name {
    font-weight: 600;
    color: black;
    font-size: 0.938rem;
}

.brands-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); */
    gap: 1rem;
}

.brand-card {
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1rem;
    /* display: flex; */
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 38%;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: white;
    border: 2px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    flex-shrink: 0;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.page-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.brand-info {
    flex: 1;
}

.details-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
}

.brand-name {
    font-weight: 600;
    color: #111827;
    font-size: 0.938rem;
    margin-bottom: 0.25rem;
}

.brand-identifier {
    font-size: 0.75rem;
    color: #6B7280;
    font-family: monospace;
}

.role-name i {
    color: #1B2B7C !important;
}

button#menu-toggle {
    position: relative;
    right: 26px;
}

.stat-icon.new {
    background: #DBEAFE;
    color: #1E40AF;
}

.stat-icon.contacted {
    background: #FEF3C7;
    color: #D97706;
}

.stat-icon.qualified {
    background: #E0E7FF;
    color: #4F46E5;
}

.stat-icon.converted {
    background: #D1FAE5;
    color: #059669;
}

.stat-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.stat-content p {
    font-size: 0.813rem;
    color: #6B7280;
    margin: 0;
}

/* Filters Section */
.filters-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filters-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-toggle {
    background: #F3F4F6;
    color: #6B7280;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-toggle:hover {
    background: #E5E7EB;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.813rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 0.625rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #F9FAFB;
    transition: all 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.btn-apply-filters {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-apply-filters:hover {
    background: #4338CA;
}

.btn-clear-filters {
    background: white;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-clear-filters:hover {
    background: #F9FAFB;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #F3F4F6;
    align-items: baseline;
}

.filter-tag {
    background: #2d2f2e;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.813rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag i {
    cursor: pointer;
    font-size: 0.75rem;
}

.filter-tag i:hover {
    color: #DC2626;
}

.status-badge.new {
    background: #DBEAFE;
    color: #1E40AF;
}

.status-badge.contacted {
    background: #FEF3C7;
    color: #D97706;
}

.status-badge.qualified {
    background: #E0E7FF;
    color: #4F46E5;
}

.status-badge.converted {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge i {
    font-size: 0.625rem;
}

tbody#leadsTableBody tr select {
    width: 69% !important;
    display: flex;
    justify-content: end;
    cursor: pointer;
    border: 2px solid #bfbfbf;
}


.logn-e img {
    width: 250px;
}

.logn-e input {
    background: #00000000;
    border: 2px solid #adababcc;
    color: black;
}

.logn-e label {
    color: black;
    font-size: 16px;
}

.logn-e button {
    background: black;
    color: white;
    margin: 0;
    width: 100%;
    text-align: center !important;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
}

.logn-e button:hover {
    background: black;
}

.dash-btn:hover {
    background: black;
    color: white;
}


.modern-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

.label-icon {
    font-size: 0.875rem;
    color: #2E3192;
}

.required-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.optional-badge {
    background: linear-gradient(135deg, #a8a8a8, #8b8b8b);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
}

/* Modern Inputs */
.modern-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.modern-input:focus {
    outline: none;
    border-color: #2E3192;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
}

.modern-input.with-prefix {
    padding-left: 3rem;
}

.currency-prefix {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.125rem;
    font-weight: 700;
    color: #2E3192;
}

.input-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1.125rem;
}

/* Modern Select */
.modern-select {
    width: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #f8fafc;
    cursor: pointer;
    appearance: none;
}

.modern-select:focus {
    outline: none;
    border-color: #2E3192;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
}

.select-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2E3192;
    pointer-events: none;
    font-size: 0.875rem;
}

/* Modern Textarea */
.modern-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #2d3748;
    transition: all 0.3s ease;
    background: #f8fafc;
    resize: vertical;
    font-family: inherit;
}

.modern-textarea:focus {
    outline: none;
    border-color: #2E3192;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
}

.textarea-icon {
    position: absolute;
    right: 1.25rem;
    top: 1rem;
    color: #a0aec0;
    font-size: 1rem;
}

/* Input Helper Text */
.input-helper {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 0.5rem;
    display: block;
}

/* Modern Page Header */

/* Alert Modern */
.alert-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #6ee7b7;
}

.alert-modern i {
    font-size: 1.5rem;
    color: #059669;
}

.alert-content strong {
    display: block;
    color: #065f46;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.alert-content p {
    margin: 0;
    color: #047857;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #059669;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.alert-close:hover {
    transform: scale(1.1);
}

/* Filters Container */
.filters-container {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.filters-title i {
    color: #2E3192;
}

.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: #e2e8f0;
    color: #2E3192;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.filter-label i {
    color: #2E3192;
    font-size: 0.875rem;
}

.filter-input,
.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #2E3192;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card-primary {
    /* border-color: #2E3192; */
}

.stat-card-success {
    border-color: #10b981;
}

.stat-card-warning {
    border-color: #f59e0b;
}

.stat-card-info {
    border-color: #0ea5e9;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.stat-card-primary .stat-icon {
    background: black;
    color: #fff;
}

.stat-card-success .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.stat-card-warning .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
}

.stat-card-info .stat-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    color: #fff;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Table Card */
.table-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f1f5f9;
}

.table-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.table-title i {
    color: #2E3192;
}

.table-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #2E3192;
    border-color: #2E3192;
    color: #fff;
}

/* Modern Table */
.table-responsive {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.th-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.th-content i {
    color: #2E3192;
    font-size: 0.875rem;
}

.modern-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.modern-table tbody tr:hover {
    background: #f8fafc;
    /* transform: scale(1.01); */
}

.modern-table td {
    padding: 1.25rem 1.5rem;
    color: #1e293b;
}

/* Customer Info */
.customer-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.customer-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.customer-details {
    display: flex;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    color: #64748b;
}

.detail-item i {
    color: #2E3192;
    font-size: 0.75rem;
}

/* Amount Info */
.amount-info {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.amount-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.amount-currency {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.status-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.status-secondary {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
}

/* Gateway Badge */
.gateway-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.gateway-badge i {
    color: #2E3192;
}

/* Date Info */
.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-primary {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.date-secondary {
    font-size: 0.8rem;
    color: #64748b;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    /* justify-content: center; */
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn-primary {
    background: black;
    color: #fff;
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 49, 146, 0.4);
}

.action-btn-info {
    background: #00800082;
    color: #fff;
}

.action-btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.action-btn-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.action-btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}

.empty-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.btn-empty-action {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-empty-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 49, 146, 0.3);
    color: #fff;
}

/* Table Footer */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-top: 2px solid #f1f5f9;
}

.pagination-info {
    color: #64748b;
    font-size: 0.9rem;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
    font-weight: 600;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.notification-error {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #fff;
}

.notification i {
    font-size: 1.25rem;
}



/* Alert Modern */
.alert-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #6ee7b7;
}

.alert-modern i {
    font-size: 1.5rem;
    color: #059669;
}

.alert-content strong {
    display: block;
    color: #065f46;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.alert-content p {
    margin: 0;
    color: #047857;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #059669;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.alert-close:hover {
    transform: scale(1.1);
}

/* Filters Container */
.filters-container {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.filters-title i {
    color: #1b2b7c;
}

.btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: #e2e8f0;
    color: #6366f1;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.filter-label i {
    color: #1b2b7c;
    font-size: 0.875rem;
}

.filter-input,
.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card-primary {
    border-color: #1b2b7c;
}

.stat-card-success {
    border-color: #10b981;
}

.stat-card-warning {
    border-color: #f59e0b;
}

.stat-card-info {
    border-color: #0ea5e9;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.stat-card-primary .stat-icon {
    background: #1b2b7c;
    color: #fff;
}

.stat-card-success .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.stat-card-warning .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
}

.stat-card-info .stat-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    color: #fff;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Table Card */
.table-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f1f5f9;
}

.table-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.table-title i {
    color: #1b2b7c;
}

.table-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

/* Modern Table */
.table-responsive {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    color: #475569;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.th-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.th-content i {
    color: #1b2b7c;
    font-size: 0.875rem;
}

.modern-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
}

.modern-table tbody tr:hover {
    background: #f8fafc;
}

.modern-table td {
    padding: 1.25rem 1.5rem;
    color: #1e293b;
    vertical-align: middle;
}

/* Transaction ID Cell */
.transaction-id-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: #f1f5f9;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.btn-copy-small {
    width: 30px;
    height: 30px;
    border: none;
    background: #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-copy-small:hover {
    background: #6366f1;
    color: #fff;
}

/* Customer Info */
.customer-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.customer-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1rem;
}

.customer-details {
    display: flex;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.85rem;
    color: #64748b;
}

.detail-item i {
    color: #1b2b7c;
    font-size: 0.75rem;
}

/* Request Info */
.request-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.request-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.request-desc {
    font-size: 0.8rem;
    color: #64748b;
}

/* Amount Info */
.amount-info {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
}

.amount-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
}

.amount-currency {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Payment Method Info */
.payment-method-info {
    min-width: 150px;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-brand-icon {
    font-size: 2rem;
    color: #1b2b7c;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.card-brand {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.875rem;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #64748b;
}

.method-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
}

.method-badge i {
    color: #6366f1;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.status-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.status-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.status-secondary {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #475569;
}

/* Date Info */
.date-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.date-primary {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.date-secondary {
    font-size: 0.8rem;
    color: #64748b;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    /* justify-content: center; */
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn-primary {
    background: black;
    color: #fff;
}

.action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.action-btn-info {
    background: #1b2b7c;
    color: #fff;
}

.action-btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

.action-btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #fff;
}

.action-btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}

.empty-subtitle {
    font-size: 1rem;
    color: #94a3b8;
}

/* Table Footer */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-top: 2px solid #f1f5f9;
}

.pagination-info {
    color: #64748b;
    font-size: 0.9rem;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 9999;
    font-weight: 600;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
}

.notification-error {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: #fff;
}

.notification i {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-page-header {
        padding: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .header-text .page-title {
        font-size: 1.5rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .action-buttons {
        flex-wrap: wrap;
    }
}

.filters-grid button {
    text-align: end;
    display: flex;
    justify-content: center;
}

.sidebar-listing-nav {
    overflow-y: auto;
    max-height: 100vh;
    overflow-x: hidden;
}

.step-container {
    /* max-width: 1000px; */
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.6s ease-out;
}

.step-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.step-header p {
    font-size: 1.125rem;
    color: #64748b;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 8rem;
}

.choice-card {
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
    border: 3px solid #e2e8f0;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2E3192 0%, #1BFFFF 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.choice-card:hover::before {
    opacity: 0.05;
}

.choice-card:hover {
    border-color: #2E3192;
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(46, 49, 146, 0.2);
}

.choice-card>* {
    position: relative;
    z-index: 1;
}

.choice-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: #1b2b7c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.choice-card:hover .choice-icon {
    transform: scale(1.1) rotate(5deg);
}

.choice-icon i {
    font-size: 33px;
    color: #fff;
}

.choice-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.choice-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== SEARCH STEP STYLES ===== */
.customer-search-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.search-header h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.search-header h4 i {
    color: #2E3192;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #e2e8f0;
    color: #2E3192;
    border-color: #2E3192;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 1.125rem 3.5rem 1.125rem 1.5rem;
    border: 3px solid #e2e8f0;
    border-radius: 14px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.search-input:focus {
    outline: none;
    border-color: #2E3192;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.1);
}

.search-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.25rem;
    pointer-events: none;
}

.search-spinner {
    position: absolute;
    right: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2E3192;
    display: none;
}

.search-spinner.active {
    display: block;
}

/* Search Results */
.search-results-container {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.search-result-item:last-child {
    border-bottom: none;
}

.result-info {
    flex: 1;
}

.result-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.result-email {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-email i {
    color: #2E3192;
}

.result-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.result-badge i {
    color: #2E3192;
}

.btn-select {
    padding: 0.625rem 1.5rem;
    background: black;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 49, 146, 0.3);
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94a3b8;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cbd5e1;
}

/* ===== FORM STYLES ===== */
.professional-form-container {
    animation: fadeInUp 0.5s ease-out;
}

.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.alert-autofill {
    display: none;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    animation: slideInDown 0.4s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-autofill.show {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-autofill i {
    font-size: 1.5rem;
    color: #1e40af;
}

.alert-content {
    flex: 1;
    color: #1e40af;
}

.alert-content strong {
    font-weight: 700;
}

.alert-close-btn {
    background: none;
    border: none;
    color: #1e40af;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.alert-close-btn:hover {
    transform: scale(1.2);
}

.form-group-modern {
    margin-bottom: 2rem;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.label-icon {
    color: #2E3192;
    font-size: 1rem;
}

.required-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.optional-badge {
    background: linear-gradient(135deg, #a8a8a8, #8b8b8b);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-weight: 600;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}


.currency-prefix {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.125rem;
    font-weight: 700;
    color: #2E3192;
}

.hidden-step {
    display: none !important;
}

/* Add this to your styles section */
.payment-option-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.payment-option-card.selected {
    border-color: #2E3192;
    background: #f0fdfa;
}

.payment-option-card input {
    display: none;
}

.option-icon {
    font-size: 1.5rem;
    color: #64748b;
}

.payment-option-card.selected .option-icon {
    /* color: #2E3192; */
}

.option-text strong {
    display: block;
    color: #1e293b;
}

.option-text span {
    font-size: 0.85rem;
    color: #64748b;
}

.saved-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    min-height: 100px;
}

.saved-card-item {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    position: relative;
}

.saved-card-item:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.saved-card-item.selected {
    border-color: var(--primary-color);
    background-color: #f0f9ff;
}

.saved-card-item.selected::after {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-brand-icon {
    font-size: 24px;
    margin-bottom: 5px;
    color: #475569;
}

.card-last4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 5px 0;
}

.card-expiry {
    font-size: 12px;
    color: #64748b;
    float: right;
}

.card-merchant-badge {
    font-size: 10px;
    text-transform: uppercase;
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 8px;
    display: inline-block;
    color: #475569;
    font-weight: 700;
    width: 100%;
    text-align: center;
}

/* Additional refined styles */
.step-number {
    display: inline-block;
    background: #e0e7ff;
    color: #4f46e5;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-progress-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.form-progress-header h3 {
    margin: 0.5rem 0 0.25rem 0;
    font-size: 1.5rem;
    color: #111827;
}

.form-progress-header p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.form-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.form-section-header>i {
    font-size: 1.5rem;
    color: var(--primary-color, #4f46e5);
    margin-top: 0.25rem;
}

.form-section-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #111827;
    font-weight: 600;
}

.form-section-header p {
    margin: 0.25rem 0 0 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.8rem;
    font-style: italic;
}

.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-option-card {
    position: relative;
    padding: 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.payment-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-option-card:hover {
    border-color: var(--primary-color, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-option-card.selected {
    border-color: var(--primary-color, #4f46e5);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.payment-option-card .option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.payment-option-card .option-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color, #4f46e5);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.payment-option-card .option-text strong {
    display: block;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.payment-option-card .option-text span {
    display: block;
    font-size: 0.85rem;
    color: #6b7280;
}

.payment-option-card .option-check {
    font-size: 1.5rem;
    color: var(--primary-color, #4f46e5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-option-card.selected .option-check {
    opacity: 1;
}

.saved-cards-header {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px dashed #d1d5db;
}

.saved-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.saved-card-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.saved-card-item:hover {
    border-color: var(--primary-color, #4f46e5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.saved-card-item.selected {
    border-color: var(--primary-color, #4f46e5);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.saved-card-item.selected::after {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--primary-color, #4f46e5);
    font-size: 1.25rem;
}

.card-brand-icon {
    font-size: 2rem;
    color: #374151;
}

.card-expiry {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.card-last4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0.75rem 0;
    letter-spacing: 2px;
}

.card-merchant-badge {
    display: inline-block;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #6b7280;
}

.card-merchant-badge i {
    margin-right: 0.25rem;
}

.search-help-text {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    color: #1e40af;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-help-text i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-autofill {
    background: #eff6ff;
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: none;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 12px rgb(255 255 255 / 30%);
}

.alert-autofill.show {
    display: flex;
}

.alert-autofill i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-autofill .alert-content {
    flex: 1;
}

.alert-autofill .alert-content strong {
    font-weight: 600;
}

.alert-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.choice-action {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: var(--primary-color, #4f46e5);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.choice-card:hover .choice-action {
    gap: 0.75rem;
}

.choice-card:hover .choice-action i {
    transform: translateX(4px);
}

.choice-action i {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .payment-options-grid {
        grid-template-columns: 1fr;
    }

    .saved-cards-grid {
        grid-template-columns: 1fr;
    }
}


div#briefTypeFieldWrapper,
div#logoConceptsFieldWrapper {
    margin-top: 15px;
    padding: 20px;
    background: #f8f9ff;
    border-left: 4px solid #1b2b7c;
    border-radius: 8px;
}

/* Modern Card */
.card-modern {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header-modern {
    background: transparent;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title-modern {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin: 0;
    letter-spacing: -0.01em;
    border-bottom: 1px solid;
}

.card-body-modern {
    padding: 1.5rem;
}

/* Page Header */
.page-title-modern {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.025em;
}

.page-header-modern {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(27, 43, 124, 0.1);
}

/* Info Blocks */
.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: block;
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--brand-secondary);
}

.info-value-large {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
}

/* Badges */
.badge-modern {
    padding: 0.4em 0.8em;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.badge-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--brand-primary);
}

/* Timeline */
.timeline-modern {
    position: relative;
    padding-left: 1rem;
}

.timeline-item-modern {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item-modern:last-child {
    border-left: 2px solid transparent;
    padding-bottom: 0;
}

.timeline-dot-modern {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px var(--bg-color);
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.timeline-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Integrations */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.integration-item {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.2s;
}

.integration-item:hover {
    border-color: var(--brand-primary);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.integration-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--brand-primary);
}

/* Utility */
.hover-primary:hover {
    color: var(--brand-primary) !important;
}

.bg-primary-soft {
    background-color: rgba(27, 43, 124, 0.08);
}

.text-primary {
    color: var(--brand-primary) !important;
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
    background-color: var(--brand-primary);
    color: #fff;
}


.customer-header-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.customer-info-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.customer-avatar-large {
    width: 80px;
    height: 80px;
    background-color: #e0e7ff;
    color: #1B2B7C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.customer-name {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.customer-contact-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.divider {
    color: #cbd5e1;
}

.status-badge-large {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-inactive {
    background-color: #f1f5f9;
    color: #475569;
}

/* Custom Stats Icons Colors */
.stat-icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.stat-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.stat-icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.stat-icon-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.info-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.info-card-header i {
    margin-right: 0.5rem;
    color: #1B2B7C;
}

.info-card-body {
    padding: 1.5rem;
}

.info-item {
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 500;
}

.email-link {
    color: #1B2B7C;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

/* Brand Section */
.brand-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.brand-logo-box {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
}

.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.brand-link {
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.brand-link:hover {
    color: #1B2B7C;
}

.brand-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 1rem 0;
}

/* Payment Table */
.table-container {
    overflow-x: auto;
}

.payment-table {
    width: 100%;
    border-collapse: collapse;
}

.payment-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.payment-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #334155;
    vertical-align: middle;
}

.payment-table tr:last-child td {
    border-bottom: none;
}

.transaction-id {
    font-family: monospace;
    font-weight: 600;
    color: #1e293b;
}

.transaction-method {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

.service-name {
    font-weight: 500;
    color: #1e293b;
}

.service-package {
    font-size: 0.8rem;
    color: #64748b;
}

.amount-display {
    font-weight: 600;
    color: #1e293b;
}

.date-day {
    font-weight: 500;
    color: #1e293b;
}

.date-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.payment-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.status-paid {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.btn-view-payment {
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-view-payment:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.empty-state-table {
    text-align: center;
    padding: 2rem;
    color: #94a3b8;
}

.empty-state-table i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.5;
}

.count-badge {
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.table-container table tr td {
    padding: 11px 20px;
}