/* Ads Dashboard Styles */
/* Version: 20251228a */

/* Page Layout */
.ads-page {
    padding: 24px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Page Header */
.ads-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.ads-header-left {
    flex: 1;
}

.ads-page-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.ads-page-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.ads-header-right {
    display: flex;
    gap: 12px;
}

.ads-create-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #F97316;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ads-create-btn:hover {
    background: #EA580C;
}

.ads-create-btn svg {
    width: 18px;
    height: 18px;
}

/* Connect Banner */
.ads-connect-banner {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border: 1px solid #FDBA74;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.ads-connect-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ads-connect-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    color: #F97316;
}

.ads-connect-text {
    flex: 1;
}

.ads-connect-text h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.ads-connect-text p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    line-height: 1.5;
}

.ads-connect-text p.ads-connect-main {
    font-size: 15px;
    color: #374151;
    margin-bottom: 16px;
}

.ads-connect-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ads-connect-benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B7280;
}

.ads-connect-benefits li::before {
    content: '';
    width: 16px;
    height: 16px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.ads-connect-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ads-connect-btn:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

/* Period Filter */
.ads-period-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.ads-period-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

.ads-period-btn:hover {
    border-color: #D1D5DB;
    color: #374151;
}

.ads-period-btn.active {
    background: #F97316;
    border-color: #F97316;
    color: white;
}

/* ROI Summary Card */
.ads-roi-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.ads-roi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ads-roi-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.ads-roi-period {
    font-size: 13px;
    color: #6B7280;
}

.ads-roi-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.ads-roi-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ads-roi-value {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

.ads-roi-label {
    font-size: 13px;
    color: #6B7280;
}

.ads-roi-summary {
    display: flex;
    justify-content: center;
}

.ads-roi-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 8px;
}

.ads-roi-multiplier {
    font-size: 32px;
    font-weight: 700;
    color: #92400E;
}

.ads-roi-text {
    font-size: 14px;
    font-weight: 500;
    color: #92400E;
}

/* Grid Layout */
.ads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

/* Sections */
.ads-section {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
}

.ads-section-full {
    grid-column: span 2;
}

.ads-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ads-section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.ads-section-link {
    font-size: 13px;
    color: #F97316;
    text-decoration: none;
    font-weight: 500;
}

.ads-section-link:hover {
    text-decoration: underline;
}

.ads-section-subtitle {
    font-size: 12px;
    color: #9CA3AF;
}

/* Campaign Cards */
.ads-campaigns-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ads-campaign-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.ads-campaign-card:hover {
    background: #F3F4F6;
}

.ads-campaign-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ads-campaign-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.ads-campaign-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ads-campaign-status-dot.active {
    background: #22C55E;
}

.ads-campaign-status-dot.paused {
    background: #EAB308;
}

.ads-campaign-status-dot.ended {
    background: #9CA3AF;
}

.ads-campaign-stats {
    font-size: 13px;
    color: #6B7280;
}

.ads-campaign-actions {
    display: flex;
    gap: 8px;
}

.ads-campaign-btn {
    padding: 6px 12px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.ads-campaign-btn:hover {
    border-color: #D1D5DB;
    background: #F9FAFB;
}

/* Empty State */
.ads-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #9CA3AF;
    text-align: center;
}

.ads-empty-state svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.ads-empty-state p {
    margin: 0 0 16px 0;
    font-size: 14px;
}

.ads-empty-btn {
    padding: 10px 20px;
    background: #F97316;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.ads-empty-btn:hover {
    background: #EA580C;
}

/* Lead Sources */
.ads-sources-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ads-source-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ads-source-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
}

.ads-source-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.ads-source-google {
    background: #EFF6FF;
    color: #2563EB;
}

.ads-source-organic {
    background: #F0FDF4;
    color: #16A34A;
}

.ads-source-direct {
    background: #F5F5F5;
    color: #525252;
}

.ads-source-referral {
    background: #FAF5FF;
    color: #9333EA;
}

.ads-source-name {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.ads-source-bar-container {
    flex: 1;
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
}

.ads-source-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.ads-source-bar[data-source="google_ads"] {
    background: #2563EB;
}

.ads-source-bar[data-source="organic"] {
    background: #16A34A;
}

.ads-source-bar[data-source="direct"] {
    background: #525252;
}

.ads-source-bar[data-source="referral"] {
    background: #9333EA;
}

.ads-source-stats {
    display: flex;
    gap: 4px;
    min-width: 70px;
    justify-content: flex-end;
}

.ads-source-percent {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.ads-source-count {
    font-size: 13px;
    color: #9CA3AF;
}

/* Leads Table */
.ads-leads-table {
    overflow-x: auto;
}

.ads-leads-header {
    display: flex;
    padding: 12px 16px;
    background: #F9FAFB;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #E5E7EB;
}

.ads-leads-col {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ads-leads-col-name { flex: 2; }
.ads-leads-col-campaign { flex: 2; }
.ads-leads-col-status { flex: 1; }
.ads-leads-col-value { flex: 1; text-align: right; }
.ads-leads-col-date { flex: 1; text-align: right; }

.ads-leads-body {
    min-height: 100px;
}

.ads-lead-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.2s;
}

.ads-lead-row:hover {
    background: #F9FAFB;
}

.ads-lead-name {
    flex: 2;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.ads-lead-campaign {
    flex: 2;
    font-size: 13px;
    color: #6B7280;
}

.ads-lead-status {
    flex: 1;
}

.ads-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.ads-status-badge.new {
    background: #EFF6FF;
    color: #2563EB;
}

.ads-status-badge.contacted {
    background: #FEF3C7;
    color: #92400E;
}

.ads-status-badge.booked {
    background: #D1FAE5;
    color: #065F46;
}

.ads-status-badge.lost {
    background: #FEE2E2;
    color: #991B1B;
}

.ads-lead-value {
    flex: 1;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: #16A34A;
}

.ads-lead-date {
    flex: 1;
    text-align: right;
    font-size: 13px;
    color: #9CA3AF;
}

/* Modal Styles */
.ads-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ads-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.ads-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ads-modal-large {
    max-width: 900px;
}

.ads-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #E5E7EB;
}

.ads-modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.ads-modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ads-modal-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ads-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 8px;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

.ads-modal-close:hover {
    background: #F3F4F6;
    color: #111827;
}

.ads-modal-action-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.ads-modal-action-btn:hover {
    background: #F9FAFB;
}

.ads-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.ads-modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
}

.ads-modal-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ads-modal-btn-primary {
    background: #F97316;
    color: white;
    border: none;
}

.ads-modal-btn-primary:hover {
    background: #EA580C;
}

.ads-modal-btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #E5E7EB;
}

.ads-modal-btn-secondary:hover {
    background: #F9FAFB;
}

/* Wizard Steps */
.ads-wizard-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
}

.ads-wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
}

.ads-wizard-step.active {
    opacity: 1;
}

.ads-wizard-step.completed {
    opacity: 1;
}

.ads-wizard-step-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E7EB;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
}

.ads-wizard-step.active .ads-wizard-step-num {
    background: #F97316;
    color: white;
}

.ads-wizard-step.completed .ads-wizard-step-num {
    background: #22C55E;
    color: white;
}

.ads-wizard-step-label {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
}

.ads-wizard-step.active .ads-wizard-step-label {
    color: #111827;
}

/* Wizard Panels */
.ads-wizard-panel {
    display: none;
}

.ads-wizard-panel.active {
    display: block;
}

.ads-wizard-panel h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 24px 0;
    text-align: center;
}

/* Goal Options */
.ads-goal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ads-goal-option {
    cursor: pointer;
}

.ads-goal-option input {
    display: none;
}

.ads-goal-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.2s;
}

.ads-goal-option input:checked + .ads-goal-card {
    border-color: #F97316;
    background: #FFF7ED;
}

.ads-goal-card:hover {
    border-color: #D1D5DB;
}

.ads-goal-option input:checked + .ads-goal-card:hover {
    border-color: #F97316;
}

.ads-goal-card svg {
    flex-shrink: 0;
    color: #6B7280;
}

.ads-goal-option input:checked + .ads-goal-card svg {
    color: #F97316;
}

.ads-goal-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    display: block;
}

.ads-goal-desc {
    font-size: 13px;
    color: #6B7280;
    display: block;
    margin-top: 2px;
}

/* Form Groups */
.ads-form-group {
    margin-bottom: 20px;
}

.ads-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.ads-form-group textarea,
.ads-form-group input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    resize: none;
    transition: border-color 0.2s;
}

.ads-form-group textarea:focus,
.ads-form-group input[type="text"]:focus {
    outline: none;
    border-color: #F97316;
}

.ads-generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #FFF7ED;
    border: 1px solid #FDBA74;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #EA580C;
    cursor: pointer;
    transition: all 0.2s;
}

.ads-generate-btn:hover {
    background: #FFEDD5;
}

.ads-generated-label {
    font-size: 13px;
    font-weight: 500;
    color: #6B7280;
    margin: 20px 0 12px 0;
}

/* Location Input */
.ads-location-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.ads-location-prefix,
.ads-location-suffix {
    font-size: 14px;
    color: #6B7280;
}

.ads-location-input select {
    padding: 8px 12px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 14px;
    color: #111827;
    background: white;
}

.ads-address-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
}

/* Keywords */
.ads-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ads-keyword-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #F3F4F6;
    border-radius: 6px;
    font-size: 13px;
    color: #374151;
}

.ads-keyword-tag input {
    width: 16px;
    height: 16px;
    accent-color: #F97316;
}

.ads-add-keyword-btn {
    padding: 8px 16px;
    background: none;
    border: 1px dashed #D1D5DB;
    border-radius: 6px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s;
}

.ads-add-keyword-btn:hover {
    border-color: #9CA3AF;
    color: #374151;
}

/* Budget Options */
.ads-budget-options {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.ads-budget-option {
    flex: 1;
    cursor: pointer;
}

.ads-budget-option input {
    display: none;
}

.ads-budget-amount {
    display: block;
    padding: 16px;
    text-align: center;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s;
}

.ads-budget-option input:checked + .ads-budget-amount {
    border-color: #F97316;
    background: #FFF7ED;
    color: #EA580C;
}

/* Budget Estimate */
.ads-budget-estimate {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.ads-budget-estimate h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

.ads-estimate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ads-estimate-item {
    text-align: center;
}

.ads-estimate-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.ads-estimate-label {
    display: block;
    font-size: 12px;
    color: #6B7280;
    margin-top: 4px;
}

/* Campaign Review */
.ads-campaign-review h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.ads-review-summary {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 16px;
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}

/* Campaign Status Badge */
.ads-campaign-status {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    background: #D1FAE5;
    color: #065F46;
}

.ads-campaign-status.paused {
    background: #FEF3C7;
    color: #92400E;
}

.ads-campaign-status.ended {
    background: #E5E7EB;
    color: #4B5563;
}

/* Detail Metrics */
.ads-detail-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.ads-detail-metric {
    padding: 16px;
    background: #F9FAFB;
    border-radius: 10px;
    text-align: center;
}

.ads-detail-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.ads-detail-label {
    display: block;
    font-size: 12px;
    color: #6B7280;
}

.ads-detail-sub {
    display: block;
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px;
}

.ads-detail-roi {
    color: #16A34A;
    font-weight: 600;
}

/* Chart Placeholder */
.ads-detail-chart {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 24px;
}

.ads-chart-placeholder {
    text-align: center;
    color: #9CA3AF;
    font-size: 14px;
}

/* Detail Leads */
.ads-detail-leads h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px 0;
}

.ads-detail-leads-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ads-detail-lead-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.ads-detail-lead-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ads-detail-lead-name {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

.ads-detail-lead-email {
    font-size: 12px;
    color: #6B7280;
}

.ads-detail-lead-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.ads-detail-lead-revenue {
    font-size: 14px;
    font-weight: 600;
    color: #16A34A;
}

.ads-detail-lead-date {
    font-size: 12px;
    color: #9CA3AF;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .ads-grid {
        grid-template-columns: 1fr;
    }

    .ads-section-full {
        grid-column: span 1;
    }

    .ads-roi-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .ads-detail-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ads-page {
        padding: 16px;
    }

    .ads-page-header {
        flex-direction: column;
        gap: 16px;
    }

    .ads-header-right {
        width: 100%;
    }

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

    .ads-connect-content {
        flex-direction: column;
        text-align: center;
    }

    .ads-roi-metrics {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ads-roi-metric {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .ads-period-filter {
        flex-wrap: wrap;
    }

    .ads-budget-options {
        flex-wrap: wrap;
    }

    .ads-budget-option {
        flex: 1 1 45%;
    }

    .ads-estimate-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ads-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .ads-wizard-steps {
        gap: 16px;
    }

    .ads-wizard-step-label {
        display: none;
    }

    .ads-leads-table {
        font-size: 12px;
    }

    .ads-leads-col-campaign,
    .ads-leads-col-value {
        display: none;
    }

    .ads-lead-campaign,
    .ads-lead-value {
        display: none;
    }
}
