/* Preview Components */
.preview-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.preview-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* iOS Push Notification Preview */
.push-preview-wrapper {
    background-image: url('https://images.unsplash.com/photo-1535385793343-27dff1413c5a?q=80&w=1000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.push-preview-card {
    background: rgba(50, 50, 50, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 22px;
    padding: 12px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.push-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 0 4px;
}

.push-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.push-icon {
    width: 20px;
    height: 20px;
    background: #E10A1D; /* Sears Red */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    color: white;
}

.push-app-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -0.2px;
}

.push-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.push-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.push-content {
    padding: 0 4px 4px 4px;
}

.push-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
    color: white;
    line-height: 1.3;
}

.push-body {
    font-size: 15px;
    line-height: 1.3;
    color: white;
}

/* WhatsApp Preview */
.whatsapp-preview {
    background: #0b141a;
    /* WhatsApp Dark BG */
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 100%;
    border: 1px solid var(--border);
}

.whatsapp-header {
    background: #202c33;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #2f3b43;
}

.whatsapp-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.whatsapp-contact {
    flex: 1;
}

.whatsapp-name {
    font-size: 1rem;
    font-weight: 600;
    color: #e9edef;
}

.whatsapp-status {
    font-size: 0.75rem;
    color: #8696a0;
}

.whatsapp-body {
    padding: 1.5rem;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: 400px;
    opacity: 0.9;
}

.whatsapp-message {
    background: #005c4b;
    color: #e9edef;
    border-radius: 0.5rem;
    border-top-right-radius: 0;
    padding: 0.5rem 0.75rem;
    max-width: 85%;
    margin-left: auto;
    position: relative;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.whatsapp-message::after {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #005c4b;
    border-right: 8px solid transparent;
}

.whatsapp-message-text {
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

.whatsapp-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
    margin-top: 0.25rem;
}

/* Email Preview */
.email-preview {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #1e293b;
    border: 1px solid var(--border);
}

.email-preview-header {
    background: #f1f5f9;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.email-from {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.email-subject {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.email-body {
    padding: 2rem;
    background: white;
}

.email-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 1.5rem;
}

.email-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
}