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

:root {
    --whatsapp-green: #25D366;
    --whatsapp-dark-green: #128C7E;
    --whatsapp-light-green: #DCF8C6;
    --whatsapp-teal: #075E54;
    --primary-gradient: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    --solid-bg: rgba(7, 94, 84, 0.95);
    --solid-border: rgba(37, 211, 102, 0.3);
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --success: #48bb78;
    --error: #f56565;
    --warning: #ed8936;
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --shadow-medium: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-large: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #075E54 0%, #128C7E 50%, #25D366 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(circle at 20% 80%, rgba(37, 211, 102, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(18, 140, 126, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(7, 94, 84, 0.2) 0%, transparent 50%);
    opacity: 0.6;
}

.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.15), rgba(18, 140, 126, 0.1));
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 25s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 70%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    left: 40%;
    bottom: 20%;
    animation-delay: 1s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0.8;
    }
}

/* Header Styles */
header {
    background: linear-gradient(135deg, rgba(7, 94, 84, 0.98) 0%, rgba(18, 140, 126, 0.98) 100%);
    border-bottom: 2px solid var(--solid-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
    opacity: 0;
}

.logo-icon:hover::before {
    animation: shine 0.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.logo-icon:hover {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    transform: translateY(-2px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Main Content */
main {
    flex: 1;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.page-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 230, 0.98) 100%);
    border: 2px solid var(--solid-border);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: var(--shadow-large);
    animation: fadeInUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.page-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    color: #075E54;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

/* Form Styles */
.form-grid {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #075E54;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required {
    color: #f56565;
    font-size: 1.2rem;
}

input[type="text"],
input[type="tel"],
textarea {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(37, 211, 102, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

input::placeholder,
textarea::placeholder {
    color: rgba(45, 55, 72, 0.4);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(37, 211, 102, 0.6);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1), 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* File Upload */
.file-upload-container {
    border: 2px dashed rgba(37, 211, 102, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: linear-gradient(135deg, rgba(220, 248, 198, 0.5) 0%, rgba(37, 211, 102, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.file-upload-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.file-upload-container:hover {
    border-color: rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, rgba(220, 248, 198, 0.7) 0%, rgba(37, 211, 102, 0.2) 100%);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.file-upload-container:hover::before {
    width: 100%;
    height: 100%;
}

.file-upload-container.dragover {
    border-color: rgba(37, 211, 102, 0.8);
    background: linear-gradient(135deg, rgba(220, 248, 198, 0.8) 0%, rgba(37, 211, 102, 0.3) 100%);
    transform: scale(1.05);
}

.file-upload-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.file-input {
    display: none;
}

.file-preview {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 230, 0.95) 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 15px;
    display: none;
    align-items: center;
    gap: 1.5rem;
    animation: slideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.file-preview.active {
    display: flex;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 1.1rem;
}

.file-size {
    font-size: 0.875rem;
    color: rgba(45, 55, 72, 0.5);
    margin-top: 0.25rem;
}

.remove-file {
    background: linear-gradient(135deg, #f56565 0%, #ed8936 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.remove-file:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 101, 101, 0.4);
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(7, 94, 84, 0.9) 0%, rgba(18, 140, 126, 0.9) 100%);
    color: white;
    border: 2px solid rgba(37, 211, 102, 0.3);
    box-shadow: 0 4px 15px rgba(7, 94, 84, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(7, 94, 84, 1) 0%, rgba(18, 140, 126, 1) 100%);
    transform: translateY(-3px);
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 6px 20px rgba(7, 94, 84, 0.4);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1.5rem;
    display: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar.active {
    display: block;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 230, 0.95) 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #075E54;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(7, 94, 84, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
}

.stat-change {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stat-change.positive {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success);
}

.stat-change.negative {
    background: rgba(245, 101, 101, 0.1);
    color: var(--error);
}

/* Controls Bar */
.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.search-container {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(37, 211, 102, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: rgba(37, 211, 102, 0.6);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1), 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(7, 94, 84, 0.5);
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(7, 94, 84, 0.9) 0%, rgba(18, 140, 126, 0.9) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7, 94, 84, 0.3);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 94, 84, 0.4);
}

.filter-btn.active {
    background: var(--primary-gradient);
}

/* Table Styles */
.table-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 230, 0.95) 100%);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

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

thead {
    background: linear-gradient(135deg, rgba(7, 94, 84, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
}

th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    color: #075E54;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

th:hover {
    background: rgba(37, 211, 102, 0.1);
}

th .sort-icon {
    display: inline-block;
    margin-left: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

th:hover .sort-icon {
    opacity: 1;
}

td {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(37, 211, 102, 0.1);
    color: #2d3748;
    font-weight: 500;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(37, 211, 102, 0.05);
    transform: scale(1.01);
}

.campaign-name {
    font-weight: 700;
    color: #075E54;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-number {
    font-weight: 700;
    color: #075E54;
    font-family: 'Courier New', monospace;
}

.campaign-badge,
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success);
}

.status-completed,
.status-sent {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
}

.status-failed {
    background: rgba(245, 101, 101, 0.1);
    color: var(--error);
}

.status-pending {
    background: rgba(237, 137, 54, 0.1);
    color: var(--warning);
}

.progress-bar-small {
    width: 100px;
    height: 8px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill-small {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.5rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    max-width: 300px;
    word-break: break-word;
}

.key-used {
    font-family: 'Courier New', monospace;
    background: rgba(37, 211, 102, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.875rem;
    color: #075E54;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Campaign Header */
.campaign-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(37, 211, 102, 0.1);
    position: relative;
    z-index: 1;
}

.campaign-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.campaign-title {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.campaign-id {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.campaign-actions {
    display: flex;
    gap: 1rem;
}

.action-btn-large {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(7, 94, 84, 0.9) 0%, rgba(18, 140, 126, 0.9) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(7, 94, 84, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 94, 84, 0.4);
}

.action-btn-large.primary {
    background: var(--primary-gradient);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.page-btn {
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #075E54;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--primary-gradient);
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 120px;
    right: 30px;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 230, 0.98) 100%);
    border-radius: 15px;
    box-shadow: var(--shadow-large);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 350px;
    transform: translateX(500px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2000;
    border-left: 4px solid transparent;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: var(--success);
}

.toast.error {
    border-left-color: var(--error);
}

.toast.warning {
    border-left-color: var(--warning);
}

.toast-icon {
    font-size: 1.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success .toast-icon {
    background: rgba(72, 187, 120, 0.1);
    color: var(--success);
}

.toast.error .toast-icon {
    background: rgba(245, 101, 101, 0.1);
    color: var(--error);
}

.toast.warning .toast-icon {
    background: rgba(237, 137, 54, 0.1);
    color: var(--warning);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    border-top: 2px solid rgba(37, 211, 102, 0.3);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0 2rem;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section a:hover::after {
    width: 100%;
}

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

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

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

/* Loading Spinner */
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: none;
}

.btn.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .page-container {
        padding: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .btn-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .toast {
        right: 15px;
        left: 15px;
        min-width: auto;
    }

    .campaign-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .controls-bar {
        flex-direction: column;
    }

    .search-container {
        max-width: 100%;
    }

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

    table {
        min-width: 600px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .page-container {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .filter-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }

    .campaign-actions {
        flex-direction: column;
        width: 100%;
    }

    .action-btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* Login Page Specific Styles */
.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.login-form-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

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

.login-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.login-subtitle {
    color: rgba(7, 94, 84, 0.8);
    font-size: 1.1rem;
}

.login-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: rgba(7, 94, 84, 0.5);
    font-size: 1.2rem;
    z-index: 1;
}

.input-group input {
    padding-left: 3rem;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(7, 94, 84, 0.5);
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--whatsapp-green);
    background: rgba(37, 211, 102, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #075E54;
    position: relative;
    padding-left: 1.5rem;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
}

.checkbox-label input:checked ~ .checkmark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: var(--whatsapp-green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: var(--whatsapp-dark-green);
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 2rem;
}

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

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(37, 211, 102, 0.2);
}

.divider span {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 230, 0.98) 100%);
    padding: 0 1rem;
    color: rgba(7, 94, 84, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(37, 211, 102, 0.2);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #075E54;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.signup-link {
    text-align: center;
    margin-top: 2rem;
    color: rgba(7, 94, 84, 0.8);
}

.signup-link a {
    color: var(--whatsapp-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-link a:hover {
    color: var(--whatsapp-dark-green);
    text-decoration: underline;
}

/* Login Info Section */
.login-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(7, 94, 84, 0.05) 0%, rgba(18, 140, 126, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(37, 211, 102, 0.1);
}

.login-illustration {
    text-align: center;
    margin-bottom: 3rem;
}

.illustration-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(18, 140, 126, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
    animation: float-icon 3s ease-in-out infinite;
}

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

.login-illustration h2 {
    font-size: 2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.login-illustration p {
    color: rgba(7, 94, 84, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #075E54;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: rgba(7, 94, 84, 0.7);
    line-height: 1.4;
}

/* Responsive Design for Login */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .login-info-section {
        display: none;
    }

    .login-form-section {
        padding: 1rem;
    }

    .login-title {
        font-size: 2rem;
    }

    .social-login {
        flex-direction: row;
        justify-content: center;
    }

    .social-btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .social-login {
        flex-direction: column;
    }

    .social-btn {
        max-width: 100%;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .login-form {
        max-width: 100%;
    }
}
/* disabling the fields */
.upload-container.disabled {
    opacity: 0.6;
    pointer-events: none;
    background-color: #f5f5f5;
}

.upload-container.disabled {
    opacity: 0.6;
    pointer-events: none;
    background-color: #f9f9f9;
}

.form-text.text-muted {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}