/* QRJee Custom Styles */

:root {
    --primary-color: #3FBCCE;
    --secondary-color: #EF4444;
    --accent-color: #F59E0B;
    --dark: #1F2937;
    --gray: #6B7280;
    --light-gray: #F3F4F6;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2BA0B0);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(63, 188, 206, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0FDFF 0%, #FFF5F5 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-qr-mockup {
    animation: float-qr 3s ease-in-out infinite;
}

@keyframes float-qr {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-qr-mockup svg {
    filter: drop-shadow(0 10px 30px rgba(63, 188, 206, 0.3));
}

/* Features Section */
.features {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Steps Section */
.how-it-works {
    padding: 80px 0;
    background: var(--light-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(63, 188, 206, 0.3);
}

.step-illustration {
    margin: 1.5rem auto;
    display: flex;
    justify-content: center;
}

.step-illustration svg {
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.1));
}

/* Pricing Cards */
.pricing-preview {
    padding: 80px 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-color: rgba(63, 188, 206, 0.3);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
}

.discount {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--light-gray);
}

.footer-col h4 {
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Auth Pages */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #fef2f2 100%);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(63, 188, 206, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

.auth-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    max-width: 500px;
    width: 100%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(63, 188, 206, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.auth-header p {
    color: var(--gray);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(63, 188, 206, 0.1);
}

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

.form-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

.forgot-password-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.forgot-password-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.auth-footer {
    text-align: center;
    margin-top: 0;
}

.auth-footer p {
    color: var(--gray);
    margin: 0;
}

.auth-footer a,
.signup-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-footer a:hover,
.signup-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.auth-legal {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.auth-legal p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

.auth-legal a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-legal a:hover {
    text-decoration: underline;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: var(--success);
    color: var(--white);
}

.alert-error {
    background: var(--danger);
    color: var(--white);
}

.alert-info {
    background: var(--primary-color);
    color: var(--white);
}

.alert-warning {
    background: var(--warning);
    color: var(--white);
}

.close-alert {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
}

/* Dashboard */
.dashboard {
    padding: 3rem 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.subscription-banner {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid var(--primary-color);
}

.subscription-banner-modern {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(63, 188, 206, 0.2);
}

.subscription-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.subscription-icon {
    font-size: 4rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subscription-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.subscription-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin: 0;
}

.subscription-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.days-remaining {
    color: var(--secondary-color);
    font-weight: 600;
}

.info-zone {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-left: 5px solid var(--primary-color);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.info-zone h2 {
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.stat-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Admin Stat Cards with Gradients */
.stat-card-gradient-1 {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-left: 5px solid #0ea5e9;
}

.stat-card-gradient-2 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 5px solid #3b82f6;
}

.stat-card-gradient-3 {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-left: 5px solid #10b981;
}

.stat-card-gradient-4 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid #f59e0b;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    border: 2px solid transparent;
}

.action-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.action-icon-bg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.action-icon-bg-1 {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.action-icon-bg-2 {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.action-icon-bg-3 {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.action-icon-bg-4 {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

/* Review Page */
.review-page {
    padding: 3rem 0;
    min-height: 80vh;
}

.review-header {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: var(--light-gray);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.copy-review-btn {
    width: 100%;
}

/* Admin Pages */
.admin-page {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
}

.page-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.data-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-tab:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.table-responsive {
    overflow-x: auto;
}

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

.data-table thead {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.data-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--dark);
    border-bottom: 2px solid var(--primary-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.data-table tbody tr {
    transition: var(--transition);
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.empty-state {
    padding: 4rem 2rem !important;
    text-align: center;
    color: var(--gray);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.plan-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-quarterly {
    background: #dbeafe;
    color: #1e40af;
}

.plan-annual {
    background: #dcfce7;
    color: #166534;
}

.plan-biennial {
    background: #fef3c7;
    color: #92400e;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.page-info {
    font-weight: 600;
    color: var(--gray);
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-form .form-control {
    flex: 1;
}

/* Invoice Preview */
.invoice-preview {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.invoice-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-color);
}

.invoice-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.invoice-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.invoice-info-col h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.invoice-info-col p {
    margin: 0.5rem 0;
    color: var(--gray);
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.invoice-table thead {
    background: var(--primary-color);
    color: white;
}

.invoice-table th,
.invoice-table td {
    padding: 1rem;
    text-align: left;
}

.invoice-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.invoice-table .total-row {
    background: #f0f9ff;
    font-size: 1.2rem;
}

.invoice-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    color: var(--gray);
}

/* Responsive */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link,
    .nav-menu .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        border-radius: 8px;
    }
    
    .nav-menu .nav-link {
        color: var(--dark);
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .nav-menu .nav-link:hover {
        background: var(--light-gray);
    }
    
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .nav-toggle span {
        transition: all 0.3s ease-in-out;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }
    
    /* Homepage Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    /* Page Headers */
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    /* Tables */
    .table-responsive {
        font-size: 0.85rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .data-table {
        min-width: 600px;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }
    
    /* Public Review Page (CRITICAL - Mobile Users) */
    .review-page {
        padding: 1.5rem 0;
    }
    
    .review-header h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .review-header .business-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .categories-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        justify-content: flex-start;
        padding: 0 0.5rem 0.5rem 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .categories-tabs::-webkit-scrollbar {
        height: 4px;
    }
    
    .categories-tabs::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 4px;
    }
    
    .category-tab {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        white-space: nowrap;
        min-height: 48px;
        flex-shrink: 0;
    }
    
    .review-card {
        padding: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .review-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .review-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .copy-review-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 600;
        min-height: 48px;
        border-radius: 12px;
    }
    
    .no-reviews {
        padding: 2rem 1rem;
        font-size: 1rem;
    }
    
    /* Auth Forms (Login/Signup) */
    .auth-page {
        padding: 2rem 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .auth-card h1,
    .auth-card h2 {
        font-size: 1.5rem;
    }
    
    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    textarea,
    select {
        padding: 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 48px;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        width: 100%;
    }
    
    .btn-block {
        width: 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row .form-control {
        width: 100%;
    }
    
    /* Client Dashboard */
    .dashboard {
        padding: 1.5rem 0;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .subscription-banner {
        padding: 1.25rem;
    }
    
    .subscription-banner h3 {
        font-size: 1.1rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .action-card {
        padding: 1.25rem;
    }
    
    .action-card h3 {
        font-size: 1rem;
    }
    
    /* QR Generation Page */
    .qr-page .page-header h1 {
        font-size: 1.5rem;
    }
    
    .qr-page .subtitle {
        font-size: 0.9rem;
    }
    
    .qr-code-card {
        padding: 1.5rem;
    }
    
    .qr-image-wrapper {
        max-width: 250px;
        margin: 0 auto 1.5rem;
    }
    
    .qr-image {
        max-width: 100%;
        height: auto;
    }
    
    .qr-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .qr-actions .btn {
        width: 100%;
    }
    
    .url-card {
        padding: 1.5rem;
    }
    
    .url-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .url-input {
        font-size: 0.875rem;
    }
    
    .copy-btn {
        width: 100%;
    }
    
    .how-to-use-section {
        margin-top: 2rem;
    }
    
    .instructions-card,
    .tips-card {
        padding: 1.5rem;
    }
    
    .instructions-card h2,
    .tips-card h2 {
        font-size: 1.25rem;
    }
    
    .steps-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step-item {
        padding: 1.25rem;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .step-content h3 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.875rem;
    }
    
    .tips-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .tips-list li {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    /* ========================================
       PRIORITY 3 - MEDIUM PRIORITY PAGES
       ======================================== */
    
    /* Homepage - Hero Section */
    .hero {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Features Section */
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    /* How It Works Section */
    .how-it-works {
        padding: 3rem 0;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-card h3 {
        font-size: 1.1rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 3rem 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* How It Works Page */
    .how-works-page {
        padding: 2rem 0;
    }
    
    .how-works-hero {
        padding: 2rem 1rem;
    }
    
    .how-works-hero h1 {
        font-size: 1.75rem;
    }
    
    .process-steps {
        padding: 2rem 0;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .process-step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .process-visual {
        margin: 1.5rem 0;
    }
    
    /* Pricing Page */
    .pricing-hero {
        padding: 2rem 1rem;
    }
    
    .pricing-hero h1 {
        font-size: 1.75rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card h3 {
        font-size: 1.25rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
        padding: 0.625rem 0;
    }
    
    .pricing-faq {
        padding: 0 1rem;
    }
    
    .faq-item {
        padding: 1.25rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding-right: 2rem;
    }
    
    /* Manage Reviews Page */
    .management-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .management-section h2 {
        font-size: 1.25rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .reviews-toolbar {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-box,
    .filter-box {
        width: 100%;
    }
    
    .reviews-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .reviews-table {
        min-width: 600px;
    }
    
    .reviews-table th,
    .reviews-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-buttons .btn {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    /* ========================================
       PRIORITY 4 - LOW PRIORITY PAGES
       ======================================== */
    
    /* Admin Dashboard */
    .admin-dashboard {
        padding: 1.5rem 0;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-tables {
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 700px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .admin-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .admin-actions .btn {
        width: 100%;
        font-size: 0.875rem;
    }
    
    /* Settings Pages */
    .settings-page {
        padding: 1.5rem 0;
    }
    
    .settings-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .settings-card h2 {
        font-size: 1.25rem;
    }
    
    .settings-form .form-group {
        margin-bottom: 1.25rem;
    }
    
    .settings-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .settings-actions .btn {
        width: 100%;
    }
    
    /* Contact Page */
    .contact-hero {
        padding: 2rem 1rem;
    }
    
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .contact-details {
        padding: 2rem 1rem;
    }
    
    .contact-form-section {
        padding: 2rem 1rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .contact-form .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ========================================
   EXTRA SMALL DEVICES (Small Phones < 480px)
   ======================================== */
@media (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    /* Containers */
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation */
    .nav-menu {
        width: 100%;
        right: -100%;
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .feature-card,
    .step-card,
    .pricing-card,
    .stat-card {
        padding: 1.25rem;
    }
    
    /* Forms */
    .form-control,
    input,
    textarea,
    select {
        padding: 0.875rem;
        font-size: 16px;
    }
    
    /* Tables */
    .data-table,
    .reviews-table,
    .admin-table {
        font-size: 0.75rem;
    }
    
    .data-table th,
    .data-table td,
    .reviews-table th,
    .reviews-table td {
        padding: 0.5rem 0.25rem;
    }
    
    /* Review Page */
    .category-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .review-card {
        padding: 1.25rem;
    }
    
    /* QR Code */
    .qr-image-wrapper {
        max-width: 200px;
    }
    
    /* Modals */
    .modal-content {
        width: 95%;
        padding: 1.25rem;
    }
}

/* Pricing Page Enhancements */
.pricing-faq {
    max-width: 900px;
    margin: 4rem auto 2rem;
    padding: 0 20px;
}

.pricing-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.8;
    margin: 0;
}

.contact-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #fef2f2 100%);
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 900px;
}

.contact-cta h2 {
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--gray); }
.mb-2 { margin-bottom: 1rem; }
.mt-2 { margin-top: 1rem; }
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success { background: var(--success); color: var(--white); }
.badge-danger { background: var(--danger); color: var(--white); }
.badge-info { background: var(--primary-color); color: var(--white); }
.badge-secondary { background: var(--gray); color: var(--white); }

/* Modern Category Management */
.section-description {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.add-category-form {
    margin-bottom: 30px;
}

.add-category-form .input-group {
    display: flex;
    gap: 10px;
    max-width: 600px;
}

.add-category-form .form-control {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.add-category-form .form-control:focus {
    border-color: #3FBCCE;
    box-shadow: 0 0 0 3px rgba(63, 188, 206, 0.1);
    outline: none;
}

.add-category-form .btn {
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.add-category-form .btn span {
    font-size: 18px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    border-color: #3FBCCE;
    box-shadow: 0 8px 25px rgba(63, 188, 206, 0.15);
    transform: translateY(-2px);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3FBCCE, #06B6D4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover::before {
    opacity: 1;
}

.category-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    font-size: 24px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3FBCCE, #06B6D4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-name {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.category-controls {
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-controls {
    opacity: 1;
}

.icon-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.icon-btn.delete-category:hover {
    background: #fee2e2;
    color: #dc2626;
}

.category-edit {
    animation: fadeIn 0.3s ease;
}

.category-edit .category-name-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #3FBCCE;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.category-edit .category-name-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(63, 188, 206, 0.1);
}

.edit-actions {
    display: flex;
    gap: 10px;
}

.edit-actions .btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.no-categories {
    grid-column: 1 / -1;
    text-align: center;
    color: #94a3b8;
    font-size: 15px;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px dashed #e2e8f0;
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Modern Reviews Grid Layout */
.reviews-section {
    margin-top: 40px;
}

.reviews-header {
    margin-bottom: 30px;
}

.reviews-header h2 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 20px;
}

.review-count {
    color: #64748b;
    font-size: 20px;
    font-weight: 400;
}

.reviews-toolbar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #3FBCCE;
    box-shadow: 0 0 0 3px rgba(63, 188, 206, 0.1);
}

.filter-select {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #1e293b;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.filter-select:focus {
    outline: none;
    border-color: #3FBCCE;
    box-shadow: 0 0 0 3px rgba(63, 188, 206, 0.1);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.review-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card:hover {
    border-color: #3FBCCE;
    box-shadow: 0 8px 25px rgba(63, 188, 206, 0.15);
    transform: translateY(-3px);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3FBCCE, #06B6D4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.review-card:hover::before {
    opacity: 1;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.review-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-primary {
    background: linear-gradient(135deg, #3FBCCE, #06B6D4);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.badge-rating {
    background: #fbbf24;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.review-status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.review-status-indicator.active {
    color: #10b981;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
}

.review-status-indicator.active .status-dot {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.review-card-body {
    margin-bottom: 15px;
}

.review-card-body .review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 12px;
}

.review-tone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.review-tone svg {
    flex-shrink: 0;
}

.review-card-footer {
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.action-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.action-btn-toggle {
    background: #f59e0b;
    color: white;
}

.action-btn-toggle:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.action-btn-delete {
    background: #ef4444;
    color: white;
}

.action-btn-delete:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px dashed #e2e8f0;
}

.no-reviews svg {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.no-reviews p {
    color: #94a3b8;
    font-size: 16px;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-toolbar {
        flex-direction: column;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-card-footer {
        flex-direction: column;
    }
}

/* Enhanced Contact Page Styling */
.contact-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.contact-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.contact-hero-content p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease;
}

.contact-main {
    padding: 80px 20px;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
    order: 1;
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 10px;
}

.form-header p {
    color: #64748b;
    font-size: 16px;
}

.modern-form .form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modern-form .form-group {
    margin-bottom: 20px;
}

.modern-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
    font-size: 15px;
}

.modern-form label svg {
    color: #3FBCCE;
    flex-shrink: 0;
}

.modern-form .form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.modern-form .form-control:focus {
    outline: none;
    border-color: #3FBCCE;
    box-shadow: 0 0 0 4px rgba(63, 188, 206, 0.1);
}

.modern-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.modern-form .btn-large {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modern-form .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(63, 188, 206, 0.4);
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 2;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    border-color: #3FBCCE;
    box-shadow: 0 10px 30px rgba(63, 188, 206, 0.15);
    transform: translateY(-4px);
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.info-value {
    font-size: 18px;
    color: #3FBCCE;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-description {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.info-note {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
    font-style: italic;
}

.info-link {
    display: inline-flex;
    align-items: center;
    color: #3FBCCE;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.info-link:hover {
    color: #2a8d9e;
    transform: translateX(5px);
}

/* Contact CTA Section */
.contact-cta-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 60px 20px;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.cta-box h2 {
    font-size: 32px;
    color: #1e293b;
    margin-bottom: 15px;
}

.cta-box p {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-box .btn-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 50px;
}

.cta-box .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

/* Responsive Contact Page */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        order: 2;
    }
    
    .contact-info-section {
        order: 1;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .modern-form .form-row-dual {
        grid-template-columns: 1fr;
    }
    
    .contact-hero-content h1 {
        font-size: 36px;
    }
    
    .contact-hero-content p {
        font-size: 16px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced QR Code Page */
.qr-page {
    padding: 40px 20px 80px;
    background: #f8fafc;
    min-height: calc(100vh - 80px);
}

.qr-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.qr-page .page-header h1 {
    font-size: 32px;
    color: #1e293b;
    margin: 0;
}

.qr-page .subtitle {
    color: #64748b;
    font-size: 16px;
    margin: 5px 0 0 0;
}

.qr-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* QR Display Card */
.qr-display-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.qr-image-container {
    margin-bottom: 30px;
}

.qr-wrapper {
    width: 320px;
    height: 320px;
    margin: 0 auto 20px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-main-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.qr-business-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.qr-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.qr-actions-grid .btn-large {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.qr-actions-grid .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.qr-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    background: #f8fafc;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 5px 0;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

/* URL Card */
.url-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.card-header-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-header-icon svg {
    color: #3FBCCE;
}

.card-header-icon h2 {
    font-size: 22px;
    color: #1e293b;
    margin: 0;
}

.url-description {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 20px 0;
}

.url-input-group {
    display: flex;
    gap: 10px;
}

.url-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
}

/* How to Use Section */
.qr-page .how-to-use-section {
    max-width: 1200px;
    margin: 40px auto 0;
}

/* Instructions Card */
.qr-page .instructions-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.instructions-card h2 {
    font-size: 28px;
    color: #1e293b;
    margin: 0 0 30px 0;
    text-align: center;
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-item:hover {
    background: white;
    border-color: #3FBCCE;
    box-shadow: 0 8px 25px rgba(63, 188, 206, 0.15);
    transform: translateY(-5px);
}

.step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #3FBCCE, #2a8d9e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(63, 188, 206, 0.3);
}

.step-content h3 {
    font-size: 18px;
    color: #1e293b;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.step-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

/* Tips Card */
.qr-page .tips-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.tips-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.tips-icon {
    font-size: 36px;
}

.tips-header h2 {
    font-size: 24px;
    color: #92400e;
    margin: 0;
    font-weight: 700;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #78350f;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.tips-list li:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

.tips-list li svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Alert Card */
.alert-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

.alert-card svg {
    color: #f59e0b;
    margin-bottom: 20px;
}

.alert-card h3 {
    font-size: 24px;
    color: #1e293b;
    margin: 0 0 15px 0;
}

.alert-card p {
    color: #64748b;
    font-size: 16px;
    margin: 0 0 25px 0;
}

/* Responsive QR Page */
@media (max-width: 1024px) {
    .qr-main-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-display-card {
        padding: 30px 20px;
    }
    
    .qr-wrapper {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .qr-page .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .qr-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-stats-row {
        grid-template-columns: 1fr;
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    .url-input {
        font-size: 12px;
    }
    
    .qr-wrapper {
        width: 240px;
        height: 240px;
    }
}

