/* WhatsApp Campaign Manager - Polished SaaS Stylesheet */
:root {
    --primary-color: #25D366; /* WhatsApp Brand Green */
    --primary-dark: #128C7E;
    --primary-darker: #075E54;
    --secondary-color: #34B7F1;
    --dark-bg: #111b21;
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    color: #2b3338;
    background-color: #f6f8fb;
}

/* Card Enhancements */
.card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kpi-card {
    position: relative;
    overflow: hidden;
}

.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.kpi-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Sidebar styling */
.sidebar .nav-link {
    color: #556270;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s ease-in-out;
    margin-bottom: 2px;
}

.sidebar .nav-link:hover {
    background-color: #f1f4f9;
    color: #128c7e;
}

.sidebar .nav-link.active {
    background-color: #e8f7f0;
    color: #128c7e;
    font-weight: 600;
}

.sidebar .nav-link.active i {
    color: #128c7e;
}

/* Wizard styling */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}

.wizard-step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.wizard-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.wizard-step-item.active .wizard-step-circle {
    border-color: #128c7e;
    background-color: #128c7e;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(18, 140, 126, 0.2);
}

.wizard-step-item.completed .wizard-step-circle {
    border-color: #25d366;
    background-color: #25d366;
    color: #fff;
}

.wizard-step-title {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.wizard-step-item.active .wizard-step-title {
    color: #128c7e;
    font-weight: 700;
}

/* WhatsApp Message Mock Bubble */
.whatsapp-preview-container {
    background: #efeae2 url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png') repeat;
    border-radius: 14px;
    padding: 24px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.whatsapp-bubble {
    background-color: #ffffff;
    border-radius: 10px 10px 10px 0;
    padding: 12px 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    position: relative;
    font-size: 0.9rem;
    line-height: 1.45;
}

.whatsapp-bubble-header {
    font-weight: 700;
    color: #128c7e;
    margin-bottom: 6px;
}

.whatsapp-bubble-body {
    color: #111b21;
    white-space: pre-line;
}

.whatsapp-bubble-footer {
    font-size: 0.74rem;
    color: #667781;
    margin-top: 6px;
}

.whatsapp-bubble-time {
    font-size: 0.68rem;
    color: #667781;
    text-align: right;
    margin-top: 4px;
}

.whatsapp-button-item {
    background: #f0f2f5;
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
    color: #00a884;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 6px;
    border: 1px solid #e1e4e8;
}

/* Table Enhancements */
.table th {
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.table td {
    vertical-align: middle;
    font-size: 0.88rem;
}
