/* Professional Clean Login System with Blur */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #10b981;
    --secondary-hover: #059669;
    --danger-color: #ef4444;
    --danger-hover: #dc2626;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Clean Gradient Background */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f0e0e 0%, #000000cf 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 440px;
}

/* Professional Blur Card */
.login-box, .register-box, .password-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    color: #1f2937;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.subtitle {
    color: #6b7280;
    text-align: center;
    margin-bottom: 32px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Password Field with Eye Icon */
.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px !important;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #6366f1;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
    background: white;
    color: #1f2937;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Professional Buttons */
.btn {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: #6366f1;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: #4f46e5;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.btn-demo {
    background: #10b981;
    color: white;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-demo:hover {
    background: #059669;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-demo svg {
    width: 20px;
    height: 20px;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Clean Divider */
.divider {
    position: relative;
    text-align: center;
    margin: 28px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Professional Links */
.links {
    margin-top: 28px;
    text-align: center;
}

.links p {
    margin: 12px 0;
    color: #6b7280;
    font-size: 14px;
}

.links a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #6366f1;
}

.remember-me label {
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.show {
    display: block;
}

.message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.message.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* Dashboard Styles */
.dashboard {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-header h1 {
    margin: 0;
    text-align: left;
}

.user-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.user-info-item:last-child {
    border-bottom: none;
}

.user-info-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
}

.user-info-value {
    color: var(--text-dark);
    font-weight: 500;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-demo {
    background: #fef3c7;
    color: #92400e;
}

.badge-regular {
    background: #dbeafe;
    color: #1e40af;
}

.badge-active {
    background: #d1fae5;
    color: #065f46;
}

.badge-expired {
    background: #fee2e2;
    color: #991b1b;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.action-buttons .btn {
    width: auto;
    flex: 1;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-box, .register-box, .password-box, .dashboard {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

/* Loading animation */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   DASHBOARD LAYOUT WITH SIDEBAR
   ============================================ */

body.dashboard-layout {
    background: #f5f7fa;
    display: block;
    padding: 0;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-header i {
    font-size: 28px;
    color: var(--primary-color);
}

.sidebar-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
    border-left: 4px solid white;
}

.nav-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.logout-btn {
    color: #ff6b6b !important;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.1) !important;
}

/* Main Content Area */
.main-content {
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top-bar {
    background: white;
    padding: 20px 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar h1 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.user-name i {
    font-size: 24px;
    color: var(--primary-color);
}

.content-area {
    flex: 1;
    padding: 30px;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title i {
    color: var(--primary-color);
}

.card-danger {
    border: 2px solid #fee2e2;
    background: #fef2f2;
}

.card-danger .card-title {
    color: var(--danger-color);
}

.card-danger .card-title i {
    color: var(--danger-color);
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-primary .stat-icon {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.stat-success .stat-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.stat-danger .stat-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.stat-warning .stat-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.stat-details h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.stat-details p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.action-btn i {
    font-size: 32px;
}

.action-btn.btn-primary {
    background: var(--primary-color);
}

.action-btn.btn-success {
    background: var(--secondary-color);
}

.action-btn.btn-info {
    background: #3b82f6;
}

.action-btn.btn-warning {
    background: #f59e0b;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Info Grid */
.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 14px;
}

.info-value {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.text-danger {
    color: var(--danger-color) !important;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert i {
    font-size: 20px;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert-info ul {
    list-style: disc;
    padding-left: 20px;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Form Styles for Dashboard */
.customer-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.customer-form .form-group {
    margin-bottom: 0;
}

.readonly-input {
    background: #f3f4f6 !important;
    cursor: not-allowed;
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-light);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--bg-light);
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 20px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Table Styles */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table thead {
    background: var(--bg-light);
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.data-table tbody tr:hover {
    background: var(--bg-light);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.action-buttons-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-icon {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon.btn-info {
    background: #3b82f6;
}

.btn-icon.btn-warning {
    background: #f59e0b;
}

.btn-icon.btn-success {
    background: var(--secondary-color);
}

.btn-icon.btn-danger {
    background: var(--danger-color);
}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-data p {
    font-size: 16px;
    font-weight: 500;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.filter-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.filter-tab .badge {
    padding: 3px 8px;
    font-size: 12px;
}

.filter-tab.active .badge {
    background: white;
    color: var(--primary-color);
}

/* Bill Template Styles */
.bill-template-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.template-editor {
    min-height: 600px;
}

.template-preview {
    /* Remove min-height to allow natural height */
    overflow: visible;
    height: auto;
}

.template-preview .card {
    overflow: visible;
    max-height: none;
    height: auto;
}

.bill-preview {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    overflow: visible;
    max-height: none;
    height: auto;
}

.bill-document {
    background: white;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bill-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.bill-logo {
    width: 120px;
    height: 120px;
    border: 2px dashed #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ccc;
}

.bill-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bill-logo i {
    font-size: 36px;
    margin-bottom: 5px;
}

.bill-company-info h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    text-align: right;
}

.bill-company-info p {
    font-size: 13px;
    color: var(--text-dark);
    margin: 5px 0;
    text-align: right;
}

.bill-title {
    text-align: center;
    margin: 30px 0;
}

.bill-title h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0;
    padding: 12px 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.bill-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.bill-info-left p, .bill-info-right p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

.bill-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.bill-table thead {
    background: var(--primary-color);
    color: white;
}

.bill-table th, .bill-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.bill-table .total-row {
    background: var(--bg-light);
    font-weight: bold;
}

.bill-payment-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.bill-payment-info h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: var(--text-dark);
}

.bill-payment-info p {
    margin: 8px 0;
    font-size: 14px;
}

.bill-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #ddd;
    color: var(--text-light);
    font-size: 14px;
}

/* Settings Page */
.settings-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    gap: 20px;
}

.setting-info {
    display: flex;
    align-items: start;
    gap: 15px;
    flex: 1;
}

.setting-info i {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 5px;
}

.setting-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px 0;
}

.setting-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .bill-template-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 220px;
    }
    
    .main-content {
        margin-left: 220px;
    }
    
    .top-bar {
        padding: 15px 20px;
    }
    
    .content-area {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .table-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .bill-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .bill-company-info h1,
    .bill-company-info p {
        text-align: center;
    }
    
    .bill-info-section {
        grid-template-columns: 1fr;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .filter-tabs {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* ============================================
   OTP VERIFICATION STYLES
   ============================================ */

.otp-icon {
    text-align: center;
    margin-bottom: 20px;
}

.otp-icon i {
    font-size: 64px;
    color: #6366f1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.otp-input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
    padding: 15px !important;
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.form-hint i {
    color: #6366f1;
    margin-right: 5px;
}

.otp-info {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 10px;
    border-left: 3px solid #6366f1;
}

.info-box i {
    font-size: 24px;
    color: #6366f1;
    margin-top: 3px;
}

.info-box div {
    flex: 1;
}

.info-box strong {
    display: block;
    color: #1f2937;
    margin-bottom: 5px;
    font-size: 14px;
}

.info-box p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.resend-link,
.cancel-link {
    color: #6366f1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resend-link:hover {
    color: #4f46e5;
}

.cancel-link {
    color: #ef4444;
}

.cancel-link:hover {
    color: #dc2626;
}

.separator {
    color: #d1d5db;
    margin: 0 10px;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10b981;
    color: #065f46;
}

/* OTP Display Box Styling */
.otp-display-box {
    padding: 20px;
    margin-bottom: 25px;
}

.otp-display-box > div {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.otp-code-display {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed #10b981;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 10px;
}

.otp-label {
    display: block;
    font-size: 14px;
    color: #065f46;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.otp-code {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    padding: 10px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 8px;
    user-select: all;
    cursor: pointer;
    transition: all 0.3s ease;
}

.otp-code:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

