/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2f6aac;
    --burgundy: #824f5e;
    --yellow: #fbd15a;
    --white: #FFFFFF;
    --dark-navy: #1A2332;
    --black: #000000;
    --light-gray: #F8F9FA;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-navy);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

/* Logo image styles removed - text-only logo used */

.nav-logo h1 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--yellow);
}

.nav-link.active {
    color: var(--primary-blue);
}

/* Navigation styles when scrolled (yellow background) */
.navbar.scrolled .nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-icon:hover {
    color: var(--white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icon {
    color: var(--black);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: var(--yellow);
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--burgundy);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    transition: 0.3s;
}



/* Shop Section */
.shop-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--dark-navy);
}

/* Product-related styles removed - not used in review app */



/* Hero Section */
.hero-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, #f0f4f8 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--burgundy);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: var(--primary-blue);
    color: var(--white);
}

.cta-button.primary:hover {
    background: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 106, 172, 0.3);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-button.secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-flow-demo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.flow-step {
    text-align: center;
    padding: 1rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 0.5rem;
}

.step-text {
    font-weight: 600;
    color: var(--dark-navy);
    font-size: 0.9rem;
}

.flow-arrow {
    color: var(--yellow);
    font-size: 1.5rem;
}

/* How It Works Section */
.how-it-works-section {
    padding: 5rem 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.step-content h3 {
    color: var(--dark-navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.step-content p {
    color: var(--burgundy);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid var(--primary-blue);
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: var(--yellow);
        color: var(--black);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .review-flow-demo {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    /* How It Works Mobile */
    .how-it-works-section {
        padding: 3rem 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .process-step {
        padding: 1.5rem;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .feature-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }


}

/* Mobile responsive styles for hero section only */
.hero-title {
    font-size: 2.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

.section-title {
    font-size: 2rem;
}
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Product-related mobile styles removed */
}

/* Settings Section Styles */
.settings-section {
    padding: 5rem 0;
    background: var(--white);
}

.settings-content {
    max-width: 800px;
    margin: 0 auto;
}

.settings-card {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.settings-header {
    text-align: center;
    margin-bottom: 2rem;
}

.settings-header i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.settings-header h3 {
    color: var(--dark-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.settings-header p {
    color: var(--burgundy);
    font-size: 1rem;
    opacity: 0.8;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.setting-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.setting-item:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.setting-item h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setting-item p {
    color: var(--burgundy);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.settings-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-btn:hover {
    background: var(--burgundy);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(47, 106, 172, 0.3);
}

/* Client Entry Form Styles */
.client-entry-form {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.form-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-card:hover {
    border-color: var(--yellow);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.form-header h3 {
    color: var(--dark-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--burgundy);
    font-size: 1rem;
    opacity: 0.8;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-navy);
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(47, 106, 172, 0.1);
}

.add-client-btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-client-btn:hover {
    background: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 106, 172, 0.3);
}

/* Recent Clients Section */
.recent-clients-section {
    margin-top: 3rem;
}

.clients-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.client-card:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.client-details h4 {
    color: var(--dark-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
}

.client-details .client-email,
.client-details .client-contact {
    color: var(--burgundy);
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.client-contact i.fab.fa-whatsapp {
    color: #25D366;
}

.client-contact i.fas.fa-envelope {
    color: var(--primary-blue);
}

.client-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.visit-date {
    font-size: 0.8rem;
    color: #666;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.sent {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.reviewed {
    background: #d4edda;
    color: #155724;
}

.client-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-btn.send-email,
.action-btn.send-message {
    background: var(--primary-blue);
    color: var(--white);
}

.action-btn.send-email:hover,
.action-btn.send-message:hover {
    background: var(--burgundy);
    transform: scale(1.1);
}

/* WhatsApp specific styling */
.action-btn.send-message i.fab.fa-whatsapp {
    color: var(--white);
}

.action-btn.send-message:hover i.fab.fa-whatsapp {
    color: var(--white);
}

.action-btn.send-reminder {
    background: var(--yellow);
    color: var(--dark-navy);
}

.action-btn.send-reminder:hover {
    background: #f9d042;
    transform: scale(1.1);
}

.action-btn.view-details {
    background: var(--light-gray);
    color: var(--dark-navy);
}

.action-btn.view-details:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.action-btn.thank-you {
    background: #28a745;
    color: var(--white);
}

.action-btn.thank-you:hover {
    background: #218838;
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.client-card {
    animation: fadeInUp 0.6s ease forwards;
}

.client-card:nth-child(1) {
    animation-delay: 0.1s;
}

.client-card:nth-child(2) {
    animation-delay: 0.2s;
}

.client-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Mobile Responsive for Client Section */
@media (max-width: 768px) {
    .client-entry-form {
        margin-bottom: 2rem;
    }

    .form-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .client-card {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .client-info {
        width: 100%;
    }

    .client-actions {
        width: 100%;
        justify-content: flex-end;
    }

    /* Dashboard Mobile Responsive */
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem;
    }

    .stat-card {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .tracking-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .tracking-status {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .dashboard-summary {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Email Preview Mobile Responsive */
    .email-preview {
        font-size: 0.9rem;
    }

    .email-body {
        padding: 1rem;
    }

    .review-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .test-email-container {
        padding: 0.8rem;
    }

    /* Settings Mobile Responsive */
    .settings-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .setting-item {
        padding: 1rem;
    }

    .setting-item h4 {
        font-size: 1rem;
    }

    .settings-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Review Tracking Dashboard Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
}

.cart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.cart-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    background: var(--primary-blue);
    color: var(--white);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

/* Cart item styles removed - not used in review app */

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    background: var(--light-gray);
    flex-shrink: 0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.total-label {
    color: var(--dark-navy);
}

.total-amount {
    color: var(--primary-blue);
}

.checkout-btn {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-btn:hover {
    background: var(--burgundy);
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-bottom: 1px solid #ddd;
}

.stat-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Tracking List */
.tracking-header {
    padding: 1rem 1.5rem 0.5rem;
    border-bottom: 1px solid var(--light-gray);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tracking-header h4 {
    margin: 0;
    color: var(--dark-navy);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tracking-list {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
}

/* Custom Scrollbar for Dashboard */
.cart-items::-webkit-scrollbar,
.tracking-list::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track,
.tracking-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb,
.tracking-list::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.cart-items::-webkit-scrollbar-thumb:hover,
.tracking-list::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy);
}

.tracking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    transition: background 0.3s ease;
}

.tracking-item:hover {
    background: #f8f9fa;
}

.tracking-item:last-child {
    border-bottom: none;
}

.tracking-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.tracking-avatar {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.tracking-details h5 {
    margin: 0 0 0.2rem 0;
    color: var(--dark-navy);
    font-size: 1rem;
    font-weight: 600;
}

.tracking-details p {
    margin: 0 0 0.3rem 0;
    color: var(--burgundy);
    font-size: 0.85rem;
}

.tracking-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tracking-time,
.tracking-link {
    font-size: 0.75rem;
    color: #666;
}

.tracking-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.tracking-actions {
    display: flex;
    gap: 0.3rem;
}

.action-btn-small {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.action-btn-small.send-now {
    background: var(--primary-blue);
    color: var(--white);
}

.action-btn-small.send-now:hover {
    background: var(--burgundy);
    transform: scale(1.1);
}

.action-btn-small.preview {
    background: var(--yellow);
    color: var(--dark-navy);
}

.action-btn-small.preview:hover {
    background: #f9d042;
    transform: scale(1.1);
}

.action-btn-small.reminder {
    background: #ffc107;
    color: var(--dark-navy);
}

.action-btn-small.reminder:hover {
    background: #e0a800;
    transform: scale(1.1);
}

.action-btn-small.track {
    background: var(--light-gray);
    color: var(--dark-navy);
}

.action-btn-small.track:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.action-btn-small.thanked {
    background: #28a745;
    color: var(--white);
}

.action-btn-small.thanked:hover {
    background: #218838;
    transform: scale(1.1);
}

.action-btn-small.view-review {
    background: #ffc107;
    color: var(--dark-navy);
}

.action-btn-small.view-review:hover {
    background: #e0a800;
    transform: scale(1.1);
}

/* Dashboard Summary */
.dashboard-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.summary-label {
    font-size: 0.8rem;
    color: var(--burgundy);
    font-weight: 600;
}

.summary-value {
    font-size: 0.9rem;
    color: var(--dark-navy);
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .cart-content {
        width: 95%;
        margin: 0.5rem;
        max-height: 90vh;
    }

    .cart-header {
        padding: 1rem;
    }

    .cart-footer {
        padding: 1rem;
    }

    /* Cart item mobile styles removed */

    .tracking-header {
        padding: 0.8rem 1rem 0.5rem;
    }
}

/* Checkou
t Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2100;
    display: none;
}

.checkout-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.checkout-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    background: var(--primary-blue);
    color: var(--white);
}

.checkout-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.checkout-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.checkout-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.checkout-body {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.checkout-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.checkout-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.checkout-section h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--burgundy);
    font-size: 0.85rem;
}

.payment-info {
    margin-top: 1rem;
}

.payment-summary {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.total-row {
    border-top: 1px solid #ddd;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.btn-secondary,
.btn-primary,
.btn-demo {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark-navy);
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-demo {
    background: var(--yellow);
    color: var(--dark-navy);
}

.btn-demo:hover {
    background: #f9d042;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--burgundy);
    transform: translateY(-1px);
}

/* Email Preview Styles */
.email-preview-container {
    margin-top: 1rem;
}

.email-preview {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.email-header {
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.email-subject,
.email-from {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.email-subject:last-child,
.email-from:last-child {
    margin-bottom: 0;
}

.email-body {
    padding: 1.5rem;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.email-body p {
    margin-bottom: 1rem;
}

.email-body p:last-child {
    margin-bottom: 0;
}

.dynamic-field {
    background: var(--yellow);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
    color: var(--dark-navy);
}

.custom-message-section {
    background: #e3f2fd;
    padding: 1rem;
    border-left: 4px solid var(--primary-blue);
    margin: 1rem 0;
    border-radius: 4px;
}

.review-button-container {
    text-align: center;
    margin: 1.5rem 0;
}

.review-button {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(47, 106, 172, 0.3);
}

.review-button:hover {
    background: var(--burgundy);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(47, 106, 172, 0.4);
    text-decoration: none;
    color: var(--white);
}

.email-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.review-link {
    color: var(--primary-blue);
    font-family: monospace;
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Form Select Styling */
select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: var(--white);
}

select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(47, 106, 172, 0.1);
}

/* Test Email Container */
.test-email-container {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.test-email-container .form-group {
    margin-bottom: 1rem;
}

.test-email-container .form-group:last-child {
    margin-bottom: 0;
}

/* Review Link Tracker Modal */
.review-link-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2200;
    display: none;
}

.review-link-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.review-link-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease-out;
}

.review-link-header {
    background: var(--primary-blue);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-link-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.review-link-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-link-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.review-link-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.review-link-body {
    padding: 2rem;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
}

.link-status {
    text-align: center;
}

.status-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.link-status h4 {
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.link-status p {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.link-details {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: left;
}

.detail-item {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    color: var(--dark-navy);
    display: inline-block;
    min-width: 100px;
}

.link-url-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#link-url {
    flex: 1;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--primary-blue);
    word-break: break-all;
}

.copy-link-btn {
    background: var(--yellow);
    border: none;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.copy-link-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.link-progress {
    margin-bottom: 2rem;
}

.progress-step {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: #f8f9fa;
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: #e8f5e8;
    border-left-color: #28a745;
}

.progress-step.completed {
    background: #d4edda;
    border-left-color: #28a745;
}

.progress-step.failed {
    background: #f8d7da;
    border-left-color: #dc3545;
}

.step-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: #ddd;
    color: white;
    font-size: 0.9rem;
}

.progress-step.active .step-icon {
    background: #28a745;
    animation: pulse 2s infinite;
}

.progress-step.completed .step-icon {
    background: #28a745;
}

.progress-step.failed .step-icon {
    background: #dc3545;
}

.step-label {
    flex: 1;
    font-weight: 600;
    color: var(--dark-navy);
}

.step-time {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

.simulation-controls {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
}

.simulation-controls h5 {
    margin: 0 0 1rem 0;
    color: var(--dark-navy);
    font-size: 1rem;
}

.control-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sim-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.sim-btn:hover {
    background: var(--burgundy);
    transform: translateY(-1px);
}

.sim-btn.failure {
    background: #dc3545;
}

.sim-btn.failure:hover {
    background: #c82333;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.success-icon {
    color: #28a745;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.error-icon {
    color: #dc3545;
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Mobile Responsive for Checkout */
@media (max-width: 768px) {
    .checkout-content {
        width: 95%;
        margin: 1rem;
    }

    .checkout-header,
    .checkout-body {
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .review-link-content {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }

    .review-link-body {
        padding: 1.5rem;
    }

    .control-buttons {
        flex-direction: column;
    }

    .sim-btn {
        justify-content: center;
    }

    .link-url-container {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .copy-link-btn {
        align-self: flex-end;
        width: fit-content;
    }
}