/* Referral Partner-specific styles */

/* Sidebar styles */
.sidebar-container {
    transform: translateX(-100%);
}

@media (min-width: 1024px) {
    .sidebar-container {
        transform: translateX(0);
    }
}

/* Sidebar transition styles */
.sidebar-container {
    transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
}

/* Main content transition */
.main-content {
    transition: margin-left 0.3s ease-in-out;
}

/* Header button styles */
.header-btn {
    @apply p-2 text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-white rounded-lg hover:bg-gray-100 dark:hover:bg-gray-700 transition-colors;
}

/* Referral Partner color scheme */
.referral-partner-primary {
    background-color: #9333ea;
}

.referral-partner-primary-hover:hover {
    background-color: #7c3aed;
}

.referral-partner-secondary {
    background-color: #2563eb;
}

.referral-partner-secondary-hover:hover {
    background-color: #1d4ed8;
}

/* Sidebar Navigation - Based on actual HTML structure */

/* Remove spacing between menu items */
.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-nav-list > * {
    margin-bottom: 0;
}

/* Main sidebar link (Dashboard) */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    margin: 0;
    position: relative;
}

.sidebar-link:hover {
    background-color: #f8fafc;
    color: #1f2937;
}

.sidebar-link.active {
    background-color: #f1f5f9;
    color: #1f2937;
    font-weight: 600;
}

/* Account Management specific styling */
.sidebar-dropdown[data-dropdown="account-management"] .sidebar-link.active {
    background-color: #f1f5f9;
    color: #1f2937;
    border-left: 3px solid #9333ea;
}

/* Merchant Management specific styling */
.sidebar-dropdown[data-dropdown="merchant-management"] .sidebar-link.active {
    background-color: #f1f5f9;
    color: #1f2937;
    border-left: 3px solid #10b981;
}

/* Transactions specific styling */
.sidebar-dropdown[data-dropdown="transactions"] .sidebar-link.active {
    background-color: #f1f5f9;
    color: #1f2937;
    border-left: 3px solid #f59e0b;
}

/* Reports specific styling */
.sidebar-dropdown[data-dropdown="reports"] .sidebar-link.active {
    background-color: #f1f5f9;
    color: #1f2937;
    border-left: 3px solid #3b82f6;
}

.dark .sidebar-link {
    color: #d1d5db;
}

.dark .sidebar-link:hover {
    background-color: #374151;
    color: #f9fafb;
}

.dark .sidebar-link.active {
    background-color: #9333ea;
    color: white;
}

/* Sidebar Dropdown Styles */
.sidebar-dropdown-menu {
    margin-top: 0.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    opacity: 0;
    background-color: #fafbfc;
    border-radius: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-left: 2px solid #e5e7eb;
}

.sidebar-dropdown-menu:not(.hidden) {
    max-height: 500px;
    opacity: 1;
}

.sidebar-dropdown-menu.hidden {
    max-height: 0;
    opacity: 0;
}

/* Submenu container */
.sidebar-submenu {
    margin-left: 1rem;
    margin-top: 0;
    margin-bottom: 0.25rem;
}

/* Submenu header */
.sidebar-submenu-header {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.dark .sidebar-submenu-header {
    color: #9ca3af;
}

.sidebar-submenu-header i {
    color: #9ca3af;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.dark .sidebar-submenu-header i {
    color: #6b7280;
}

/* Dropdown links (sub-menu items) */
.sidebar-dropdown-link {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: #4b5563;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    margin: 0.125rem 0.5rem;
    position: relative;
}

.sidebar-dropdown-link:hover {
    background-color: #f1f5f9;
    color: #1f2937;
}

.sidebar-dropdown-link.active {
    background-color: #e0e7ff;
    color: #3730a3;
    font-weight: 500;
}

/* Account Management dropdown links specific styling */
.sidebar-dropdown[data-dropdown="account-management"] .sidebar-dropdown-link {
    padding-left: 1.5rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.sidebar-dropdown[data-dropdown="account-management"] .sidebar-dropdown-link:hover {
    background-color: #f8fafc;
    color: #1f2937;
}

.sidebar-dropdown[data-dropdown="account-management"] .sidebar-dropdown-link.active {
    background-color: #f1f5f9;
    color: #1f2937;
    font-weight: 500;
}

.dark .sidebar-dropdown-link {
    color: #9ca3af;
}

.dark .sidebar-dropdown-link:hover {
    background-color: #1f2937;
    color: #d1d5db;
}

.dark .sidebar-dropdown-link.active {
    background-color: #581c87;
    color: #c084fc;
    border-left-color: #9333ea;
}

/* Submenu dropdown links (indented) */
.sidebar-submenu .sidebar-dropdown-link {
    padding-left: 2.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    margin: 0;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-submenu .sidebar-dropdown-link:hover {
    background-color: #f9fafb;
    color: #374151;
    border-left-color: #9333ea;
}

.sidebar-submenu .sidebar-dropdown-link.active {
    background-color: #faf5ff;
    color: #9333ea;
    border-left-color: #9333ea;
    font-weight: 600;
}

.dark .sidebar-submenu .sidebar-dropdown-link {
    color: #9ca3af;
}

.dark .sidebar-submenu .sidebar-dropdown-link:hover {
    background-color: #1f2937;
    color: #d1d5db;
    border-left-color: #9333ea;
}

.dark .sidebar-submenu .sidebar-dropdown-link.active {
    background-color: #581c87;
    color: #c084fc;
    border-left-color: #9333ea;
    font-weight: 500;
}

/* Dropdown button (main menu items) */
.sidebar-dropdown button.sidebar-link {
    font-weight: 700;
    font-size: 0.875rem;
    color: #374151;
    background-color: transparent;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.875rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 3px solid transparent;
}

.sidebar-dropdown button.sidebar-link:hover {
    background-color: #f3f4f6;
    color: #111827;
    border-left-color: #9333ea;
}

.sidebar-dropdown button.sidebar-link.active {
    background-color: #9333ea;
    color: white;
    border-left-color: #9333ea;
}

.dark .sidebar-dropdown button.sidebar-link {
    color: #d1d5db;
}

.dark .sidebar-dropdown button.sidebar-link:hover {
    background-color: #374151;
    color: #f9fafb;
}

.dark .sidebar-dropdown button.sidebar-link.active {
    background-color: #9333ea;
    color: white;
}

/* Icon styling */
.sidebar-link i,
.sidebar-dropdown-link i {
    margin-right: 0.75rem;
    width: 1rem;
    text-align: center;
    transition: color 0.2s ease;
}

.sidebar-link:hover i,
.sidebar-dropdown-link:hover i {
    color: inherit;
}

/* Chevron rotation */
.sidebar-dropdown button .fa-chevron-down {
    transition: transform 0.3s ease;
}

.sidebar-dropdown button .fa-chevron-down.rotate-180 {
    transform: rotate(180deg);
}

/* Referral Partner dashboard specific components */
.referral-partner-stats-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.dark .referral-partner-stats-card {
    background-color: #1f2937;
    border-color: #374151;
}

.referral-partner-stats-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.referral-partner-stats-card-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.dark .referral-partner-stats-card-title {
    color: #9ca3af;
}

.referral-partner-stats-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.dark .referral-partner-stats-card-value {
    color: #f9fafb;
}

.referral-partner-stats-card-change {
    font-size: 0.875rem;
    font-weight: 500;
}

.referral-partner-stats-card-change.positive {
    color: #9333ea;
}

.dark .referral-partner-stats-card-change.positive {
    color: #c084fc;
}

.referral-partner-stats-card-change.negative {
    color: #dc2626;
}

.dark .referral-partner-stats-card-change.negative {
    color: #f87171;
}

/* Referral Partner table styles */
.referral-partner-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.referral-partner-table-header {
    background-color: #f9fafb;
}

.dark .referral-partner-table-header {
    background-color: #374151;
}

.referral-partner-table-header-cell {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    height: 40px;
}

.dark .referral-partner-table-header-cell {
    color: #9ca3af;
}

.referral-partner-table-body {
    background-color: white;
}

.dark .referral-partner-table-body {
    background-color: #1f2937;
}

.referral-partner-table-row {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.dark .referral-partner-table-row {
    border-bottom-color: #374151;
}

.referral-partner-table-row:hover {
    background-color: #f9fafb;
}

.dark .referral-partner-table-row:hover {
    background-color: #374151;
}

.referral-partner-table-cell {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #111827;
    vertical-align: middle;
    height: 48px;
}

.dark .referral-partner-table-cell {
    color: #f9fafb;
}

/* Enhanced Referral Partner Button Styles */
.referral-partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    min-height: 2.75rem;
}

.referral-partner-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.referral-partner-btn-primary {
    background-color: #9333ea;
    color: white;
    border-color: #9333ea;
}

.referral-partner-btn-primary:hover {
    background-color: #7c3aed;
    border-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.referral-partner-btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.referral-partner-btn-secondary {
    background-color: #6b7280;
    color: white;
    border-color: #6b7280;
}

.referral-partner-btn-secondary:hover {
    background-color: #4b5563;
    border-color: #4b5563;
    transform: translateY(-1px);
}

.referral-partner-btn-secondary:focus {
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.referral-partner-btn-success {
    background-color: #16a34a;
    color: white;
    border-color: #16a34a;
}

.referral-partner-btn-success:hover {
    background-color: #15803d;
    border-color: #15803d;
    transform: translateY(-1px);
}

.referral-partner-btn-success:focus {
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.referral-partner-btn-danger {
    background-color: #dc2626;
    color: white;
    border-color: #dc2626;
}

.referral-partner-btn-danger:hover {
    background-color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
}

.referral-partner-btn-danger:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.referral-partner-btn-warning {
    background-color: #f59e0b;
    color: white;
    border-color: #f59e0b;
}

.referral-partner-btn-warning:hover {
    background-color: #d97706;
    border-color: #d97706;
    transform: translateY(-1px);
}

.referral-partner-btn-warning:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Button sizes */
.referral-partner-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    min-height: 2.25rem;
}

.referral-partner-btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-height: 3.25rem;
}

/* Button states */
.referral-partner-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.referral-partner-btn-loading {
    position: relative;
    color: transparent;
}

.referral-partner-btn-loading::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Referral Partner Form Styles */
.referral-partner-form-group {
    margin-bottom: 1.5rem;
}

.referral-partner-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.dark .referral-partner-form-label {
    color: #d1d5db;
}

.referral-partner-form-input,
.referral-partner-form-select,
.referral-partner-form-textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    background-color: white;
    transition: all 0.2s ease;
    line-height: 1.5;
}

.referral-partner-form-input::placeholder,
.referral-partner-form-textarea::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.referral-partner-form-input:focus,
.referral-partner-form-select:focus,
.referral-partner-form-textarea:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.referral-partner-form-input:hover,
.referral-partner-form-select:hover,
.referral-partner-form-textarea:hover {
    border-color: #d1d5db;
}

.referral-partner-form-input:disabled,
.referral-partner-form-select:disabled,
.referral-partner-form-textarea:disabled {
    background-color: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.7;
}

.dark .referral-partner-form-input,
.dark .referral-partner-form-select,
.dark .referral-partner-form-textarea {
    background-color: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.dark .referral-partner-form-input::placeholder,
.dark .referral-partner-form-textarea::placeholder {
    color: #6b7280;
}

.dark .referral-partner-form-input:focus,
.dark .referral-partner-form-select:focus,
.dark .referral-partner-form-textarea:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.dark .referral-partner-form-input:hover,
.dark .referral-partner-form-select:hover,
.dark .referral-partner-form-textarea:hover {
    border-color: #6b7280;
}

.dark .referral-partner-form-input:disabled,
.dark .referral-partner-form-select:disabled,
.dark .referral-partner-form-textarea:disabled {
    background-color: #1f2937;
    color: #6b7280;
}

/* Form validation styles */
.referral-partner-form-input.error,
.referral-partner-form-select.error,
.referral-partner-form-textarea.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.dark .referral-partner-form-input.error,
.dark .referral-partner-form-select.error,
.dark .referral-partner-form-textarea.error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

.referral-partner-form-error {
    color: #dc2626;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
}

.referral-partner-form-error::before {
    content: "⚠";
    margin-right: 0.25rem;
    font-size: 0.875rem;
}

.dark .referral-partner-form-error {
    color: #f87171;
}

/* Form success styles */
.referral-partner-form-input.success,
.referral-partner-form-select.success,
.referral-partner-form-textarea.success {
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.dark .referral-partner-form-input.success,
.dark .referral-partner-form-select.success,
.dark .referral-partner-form-textarea.success {
    border-color: #c084fc;
    box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.2);
}

/* Alert styles */
.referral-partner-alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid;
}

.referral-partner-alert-success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.dark .referral-partner-alert-success {
    background-color: #064e3b;
    border-color: #065f46;
    color: #6ee7b7;
}

.referral-partner-alert-error {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.dark .referral-partner-alert-error {
    background-color: #450a0a;
    border-color: #7f1d1d;
    color: #fca5a5;
}

.referral-partner-alert-warning {
    background-color: #fffbeb;
    border-color: #fed7aa;
    color: #92400e;
}

.dark .referral-partner-alert-warning {
    background-color: #451a03;
    border-color: #78350f;
    color: #fbbf24;
}

.referral-partner-alert-info {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.dark .referral-partner-alert-info {
    background-color: #1e3a8a;
    border-color: #1d4ed8;
    color: #93c5fd;
}

/* Commission status styles */
.commission-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.commission-status.paid {
    background-color: #dcfce7;
    color: #166534;
}

.dark .commission-status.paid {
    background-color: #064e3b;
    color: #6ee7b7;
}

.commission-status.pending {
    background-color: #fef3c7;
    color: #92400e;
}

.dark .commission-status.pending {
    background-color: #451a03;
    color: #fbbf24;
}

.commission-status.failed {
    background-color: #fee2e2;
    color: #991b1b;
}

.dark .commission-status.failed {
    background-color: #450a0a;
    color: #fca5a5;
}

.commission-status.processing {
    background-color: #dbeafe;
    color: #1e40af;
}

.dark .commission-status.processing {
    background-color: #1e3a8a;
    color: #93c5fd;
}

/* Merchant status styles */
.merchant-status {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    line-height: 1.2;
}

.merchant-status.active {
    background-color: #dcfce7;
    color: #166534;
}

.dark .merchant-status.active {
    background-color: #064e3b;
    color: #6ee7b7;
}

.merchant-status.pending {
    background-color: #fef3c7;
    color: #92400e;
}

.dark .merchant-status.pending {
    background-color: #451a03;
    color: #fbbf24;
}

.merchant-status.suspended {
    background-color: #fee2e2;
    color: #991b1b;
}

.dark .merchant-status.suspended {
    background-color: #450a0a;
    color: #fca5a5;
}

.merchant-status.verified {
    background-color: #dbeafe;
    color: #1e40af;
}

.dark .merchant-status.verified {
    background-color: #1e3a8a;
    color: #93c5fd;
}

.merchant-status.approved {
    background-color: #dcfce7;
    color: #166534;
}

.dark .merchant-status.approved {
    background-color: #064e3b;
    color: #6ee7b7;
}

/* Responsive design */
@media (max-width: 768px) {
    .referral-partner-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .referral-partner-form-grid-2,
    .referral-partner-form-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .referral-partner-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .referral-partner-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1025px) {
    .referral-partner-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* AUTH PAGE STYLES - COMPREHENSIVE FIXES */

/* Auth container - centered and responsive */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 50%, #eef2ff 100%);
    padding: 1rem;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.dark .auth-container {
    background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #1e1b4b 100%);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

/* Auth card - proper sizing and styling */
.auth-card {
    width: 100%;
    max-width: 28rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid #f3f4f6;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.dark .auth-card {
    background-color: #1f2937;
    border-color: #374151;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Auth logo styling */
.auth-logo {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #9333ea 0%, #6366f1 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3);
}

.auth-logo i {
    color: white;
    font-size: 1.5rem;
}

/* Auth title and subtitle */
.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    text-align: center;
    margin-bottom: 0.5rem;
}

.dark .auth-title {
    color: #f9fafb;
}

.auth-subtitle {
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
}

.dark .auth-subtitle {
    color: #9ca3af;
}

/* Auth form styling */
.auth-form-group {
    margin-bottom: 1.5rem;
}

.auth-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.dark .auth-form-label {
    color: #d1d5db;
}

.auth-form-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background-color: white;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.auth-form-input::placeholder {
    color: #9ca3af;
}

.auth-form-input:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.auth-form-input:hover {
    border-color: #d1d5db;
}

.auth-form-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.dark .auth-form-input {
    background-color: #374151;
    border-color: #4b5563;
    color: #f9fafb;
    padding: 0.75rem 1rem 0.75rem 3rem;
}

.dark .auth-form-input::placeholder {
    color: #6b7280;
}

.dark .auth-form-input:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.dark .auth-form-input:hover {
    border-color: #6b7280;
}

.dark .auth-form-input.error {
    border-color: #f87171;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2);
}

/* Auth form icon positioning */
.auth-form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.dark .auth-form-icon {
    color: #6b7280;
}

/* Auth form error styling */
.auth-form-error {
    font-size: 0.875rem;
    color: #dc2626;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
}

.auth-form-error::before {
    content: '⚠';
    margin-right: 0.5rem;
}

.dark .auth-form-error {
    color: #f87171;
}

/* Auth checkbox styling */
.auth-checkbox {
    display: flex;
    align-items: center;
}

.auth-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    color: #9333ea;
    border-color: #d1d5db;
    border-radius: 0.25rem;
    background-color: white;
}

.auth-checkbox input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.auth-checkbox-label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}

.dark .auth-checkbox-label {
    color: #d1d5db;
}

/* Auth link styling */
.auth-link {
    color: #9333ea;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #7c3aed;
}

.dark .auth-link {
    color: #c084fc;
}

.dark .auth-link:hover {
    color: #a855f7;
}

/* Auth button styling */
.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #9333ea 0%, #6366f1 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #7c3aed 0%, #5855eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.3);
}

.auth-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.auth-btn-icon {
    margin-right: 0.5rem;
}

/* Remember me and forgot password row */
.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* Register link container */
.auth-register-container {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.dark .auth-register-container {
    border-top-color: #374151;
}

.auth-register-text {
    font-size: 0.875rem;
    color: #6b7280;
}

.dark .auth-register-text {
    color: #9ca3af;
}

/* Password visibility toggle */
.auth-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-password-toggle:hover {
    color: #6b7280;
}

.dark .auth-password-toggle {
    color: #6b7280;
}

.dark .auth-password-toggle:hover {
    color: #9ca3af;
}

/* Enhanced focus states */
.auth-form-input:focus + .auth-form-icon {
    color: #9333ea;
}

.dark .auth-form-input:focus + .auth-form-icon {
    color: #c084fc;
}

/* Loading state for button */
.auth-btn:disabled .auth-btn-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .auth-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-logo {
        width: 3rem;
        height: 3rem;
    }
    
    .auth-logo i {
        font-size: 1.25rem;
    }
} 

/* DASHBOARD ENHANCEMENTS - COMPREHENSIVE STYLING */

/* Enhanced Stats Cards */
.partner-stats-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.partner-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9333ea, #6366f1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-stats-card:hover::before {
    opacity: 1;
}

.partner-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.06);
}

.dark .partner-stats-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.dark .partner-stats-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

/* Enhanced Stats Card Header */
.partner-stats-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.dark .partner-stats-card-header {
    border-bottom-color: #374151;
}

.partner-stats-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .partner-stats-card-title {
    color: #9ca3af;
}

/* Enhanced Stats Card Value */
.partner-stats-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.dark .partner-stats-card-value {
    color: #f9fafb;
}

/* Enhanced Stats Card Change */
.partner-stats-card-change {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.partner-stats-card-change.positive {
    color: #059669;
}

.dark .partner-stats-card-change.positive {
    color: #34d399;
}

.partner-stats-card-change.negative {
    color: #dc2626;
}

.dark .partner-stats-card-change.negative {
    color: #f87171;
}

/* Enhanced Partner Buttons */
.partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    min-height: 2.75rem;
    position: relative;
    overflow: hidden;
}

.partner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.partner-btn:hover::before {
    left: 100%;
}

.partner-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.partner-btn-primary {
    background: linear-gradient(135deg, #9333ea 0%, #6366f1 100%);
    color: white;
    border-color: #9333ea;
}

.partner-btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #5855eb 100%);
    border-color: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.partner-btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border-color: #6b7280;
}

.partner-btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    border-color: #4b5563;
    transform: translateY(-1px);
}

.partner-btn-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border-color: #059669;
}

.partner-btn-success:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    border-color: #047857;
    transform: translateY(-1px);
}

/* Enhanced Empty State */
.dashboard-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.dashboard-empty-state-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #faf5ff 0%, #eef2ff 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(147, 51, 234, 0.1);
}

.dashboard-empty-state-icon i {
    font-size: 2.5rem;
    color: #9333ea;
}

.dark .dashboard-empty-state-icon {
    background: linear-gradient(135deg, #581c87 0%, #3730a3 100%);
}

.dark .dashboard-empty-state-icon i {
    color: #c084fc;
}

.dashboard-empty-state-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.dark .dashboard-empty-state-title {
    color: #f9fafb;
}

.dashboard-empty-state-description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.dark .dashboard-empty-state-description {
    color: #9ca3af;
}

.dashboard-empty-state-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .dashboard-empty-state-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* Enhanced Quick Actions */
.quick-action-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #faf5ff 0%, #f3f4f6 100%);
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.quick-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #6366f1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.quick-action-card:hover::before {
    transform: scaleX(1);
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.06);
}

.dark .quick-action-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: #374151;
}

.quick-action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.quick-action-card:hover .quick-action-icon {
    transform: scale(1.1);
}

.quick-action-content {
    flex: 1;
}

.quick-action-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.dark .quick-action-title {
    color: #f9fafb;
}

.quick-action-description {
    font-size: 0.75rem;
    color: #6b7280;
}

.dark .quick-action-description {
    color: #9ca3af;
}

.quick-action-arrow {
    color: #9333ea;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-0.5rem);
}

.quick-action-card:hover .quick-action-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced Status Cards */
.status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #f9fafb 100%);
    border-radius: 1rem;
    border: 1px solid #d1fae5;
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.dark .status-card {
    background: linear-gradient(135deg, #064e3b 0%, #1f2937 100%);
    border-color: #065f46;
}

.status-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.status-card-content {
    flex: 1;
}

.status-card-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.dark .status-card-label {
    color: #f9fafb;
}

.status-card-value {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
}

.dark .status-card-value {
    color: #34d399;
}

/* Enhanced Partner Badges */
.partner-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-badge-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.dark .partner-badge-success {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    color: #6ee7b7;
    border-color: #065f46;
}

.partner-badge-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.dark .partner-badge-info {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    color: #93c5fd;
    border-color: #1d4ed8;
}

/* Enhanced Grid Layout */
.dashboard-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.dashboard-grid-3 {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .dashboard-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Enhanced Typography */
.dashboard-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.dark .dashboard-title {
    color: #f9fafb;
}

.dashboard-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.dark .dashboard-subtitle {
    color: #9ca3af;
}

/* Enhanced Page Header */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.dark .dashboard-header {
    border-bottom-color: #374151;
}

/* Enhanced Table Styles */
.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.dashboard-table th {
    background: #f9fafb;
    padding: 1rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.dark .dashboard-table th {
    background: #374151;
    color: #9ca3af;
    border-bottom-color: #4b5563;
}

.dashboard-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.875rem;
    color: #111827;
}

.dark .dashboard-table td {
    border-bottom-color: #374151;
    color: #f9fafb;
}

.dashboard-table tr:hover {
    background: #f9fafb;
}

.dark .dashboard-table tr:hover {
    background: #374151;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .quick-action-card {
        padding: 1rem;
    }
    
    .status-card {
        padding: 1rem;
    }
    
    .partner-stats-card {
        padding: 1.25rem;
    }
}

/* ENHANCED DRAWER/FILTER STYLES */

/* Drawer Container */
.partner-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.partner-drawer.open {
    opacity: 1;
    visibility: visible;
}

/* Drawer Overlay */
.partner-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.partner-drawer-overlay.open {
    opacity: 1;
}

/* Drawer Content */
.partner-drawer-content {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    border-radius: 1rem 0 0 1rem;
    box-shadow: -10px 0 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 1001;
}

.partner-drawer.open .partner-drawer-content {
    transform: translateX(0);
}

.dark .partner-drawer-content {
    background: #1f2937;
    box-shadow: -10px 0 25px -5px rgba(0, 0, 0, 0.3);
}

/* Drawer Header */
.partner-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #faf5ff 0%, #f3f4f6 100%);
    border-radius: 1rem 0 0 0;
}

.dark .partner-drawer-header {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom-color: #374151;
}

.partner-drawer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.dark .partner-drawer-title {
    color: #f9fafb;
}

.partner-drawer-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.partner-drawer-close:hover {
    background: #f3f4f6;
    color: #374151;
    transform: scale(1.05);
}

.dark .partner-drawer-close {
    background: #374151;
    border-color: #4b5563;
    color: #9ca3af;
}

.dark .partner-drawer-close:hover {
    background: #4b5563;
    color: #d1d5db;
}

/* Drawer Body */
.partner-drawer-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Enhanced Form Styles for Drawer */
.partner-drawer .partner-form-group {
    margin-bottom: 1.5rem;
}

.partner-drawer .partner-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.dark .partner-drawer .partner-form-label {
    color: #d1d5db;
}

.partner-drawer .partner-form-input,
.partner-drawer .partner-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: white;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.partner-drawer .partner-form-input::placeholder {
    color: #9ca3af;
}

.partner-drawer .partner-form-input:focus,
.partner-drawer .partner-form-select:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.partner-drawer .partner-form-input:hover,
.partner-drawer .partner-form-select:hover {
    border-color: #d1d5db;
}

.dark .partner-drawer .partner-form-input,
.dark .partner-drawer .partner-form-select {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.dark .partner-drawer .partner-form-input::placeholder {
    color: #6b7280;
}

.dark .partner-drawer .partner-form-input:focus,
.dark .partner-drawer .partner-form-select:focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.2);
}

.dark .partner-drawer .partner-form-input:hover,
.dark .partner-drawer .partner-form-select:hover {
    border-color: #6b7280;
}

/* Drawer Actions */
.partner-drawer-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 1rem 0;
}

.dark .partner-drawer-actions {
    background: #111827;
    border-top-color: #374151;
}

.partner-drawer-actions .partner-btn {
    flex: 1;
    justify-content: center;
    min-height: 2.75rem;
}

/* Enhanced Filter Form */
.partner-drawer form {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

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

/* Filter Section Headers */
.filter-section-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.dark .filter-section-header {
    color: #9ca3af;
    border-bottom-color: #374151;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover {
    border-color: #9333ea;
    background: #faf5ff;
}

.filter-option.selected {
    border-color: #9333ea;
    background: #faf5ff;
    color: #9333ea;
}

.dark .filter-option {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

.dark .filter-option:hover {
    border-color: #9333ea;
    background: #581c87;
}

.dark .filter-option.selected {
    border-color: #9333ea;
    background: #581c87;
    color: #c084fc;
}

.filter-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 1rem;
    height: 1rem;
    color: #9333ea;
    border-color: #d1d5db;
    border-radius: 0.25rem;
}

.filter-option input[type="radio"] {
    margin-right: 0.75rem;
    width: 1rem;
    height: 1rem;
    color: #9333ea;
    border-color: #d1d5db;
}

/* Date Range Picker */
.date-range-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.date-range-picker .partner-form-group {
    margin-bottom: 0;
}

/* Search Input Enhancement */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.search-input-wrapper .partner-form-input {
    padding-left: 2.5rem;
}

.dark .search-input-wrapper .search-icon {
    color: #6b7280;
}

/* Filter Badges */
.filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    color: #374151;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
}

.filter-badge .remove-icon {
    margin-left: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s ease;
}

.filter-badge .remove-icon:hover {
    color: #dc2626;
}

.dark .filter-badge {
    background: #374151;
    color: #f9fafb;
    border-color: #4b5563;
}

.dark .filter-badge .remove-icon {
    color: #9ca3af;
}

.dark .filter-badge .remove-icon:hover {
    color: #f87171;
}

/* Responsive Drawer */
@media (max-width: 640px) {
    .partner-drawer-content {
        max-width: 100%;
        border-radius: 1rem 1rem 0 0;
    }
    
    .partner-drawer-header {
        border-radius: 1rem 1rem 0 0;
    }
    
    .partner-drawer-actions {
        border-radius: 0;
    }
    
    .date-range-picker {
        grid-template-columns: 1fr;
    }
}

/* Blur Effect for Main Content */
.main-content.blurred {
    filter: none;
    transition: filter 0.3s ease;
}

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

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

.partner-drawer.open .partner-drawer-content {
    animation: slideInRight 0.3s ease;
}

.partner-drawer:not(.open) .partner-drawer-content {
    animation: slideOutRight 0.3s ease;
} 