/* Campaign Pages Custom Styles */
/* Override default template styles for professional campaign pages */

/* Professional Response Form Styles */
.response-form-container {
    margin: 2rem 0;
}

.response-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .response-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.response-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.response-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.response-card--accept {
    border-left: 4px solid #10b981;
}

.response-card--accept .response-card__header {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-bottom: 1px solid #a7f3d0;
}

.response-card--decline {
    border-left: 4px solid #ef4444;
}

.response-card--decline .response-card__header {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-bottom: 1px solid #fecaca;
}

.response-card__header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.response-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.response-card__icon svg {
    width: 28px;
    height: 28px;
}

.response-card--accept .response-card__icon {
    background: #10b981;
    color: white;
}

.response-card--decline .response-card__icon {
    background: #ef4444;
    color: white;
}

.response-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
    line-height: 1.3;
}

.response-card__subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.25rem 0 0 0;
}

.response-form {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-field--spacer {
    height: 1.5rem;
    margin-bottom: 0;
}

.form-field--button {
    margin-bottom: 0;
    margin-top: auto;
    flex-shrink: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-label span {
    display: block;
    font-size: 0.875rem;
}

.form-label small {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 400;
    margin-top: 0.25rem;
}

.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 80px;
}

.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea::placeholder {
    color: #9ca3af;
}

/* Custom Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container:hover .checkmark {
    border-color: #3b82f6;
}

.checkbox-input:checked ~ .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.terms-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn--accept {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn--accept:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.4);
}

.btn--decline {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.3);
}

.btn--decline:hover:not(:disabled) {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(239, 68, 68, 0.4);
}

/* Loading State */
.btn .spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 640px) {
    .response-card__header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .response-card__icon {
        width: 48px;
        height: 48px;
    }
    
    .response-card__icon svg {
        width: 24px;
        height: 24px;
    }
    
    .response-form {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Reset and base styles */
.campaign-container {
    font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
}

/* Campaign Header Styles */
.campaign-header {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #f093fb 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    margin-bottom: 3rem;
}

.campaign-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.8;
}

.campaign-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.4;
}

.campaign-header .content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Campaign Type Badge */
.campaign-type-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Floating Elements */
.campaign-header .floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.campaign-header .floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.campaign-header .floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.campaign-header .floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Additional Professional Enhancements */
.campaign-header {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.campaign-header::before {
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.6; }
}

/* Enhanced Stat Card Animations */
.stat-card {
    animation: slideInUp 0.6s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

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

/* Professional Typography Enhancements */
.campaign-title {
    animation: fadeInDown 0.8s ease-out;
}

.campaign-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.campaign-type-badge {
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

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

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

.campaign-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.campaign-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.campaign-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* Stats Grid */
.campaign-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 24px;
    z-index: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.stat-card > * {
    position: relative;
    z-index: 2;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Campaign Card Styles */
.campaign-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.campaign-card-header {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.campaign-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.campaign-card-description {
    opacity: 0.9;
    font-size: 0.95rem;
}

.campaign-card-body {
    padding: 2rem;
}

/* Badge Styles */
.campaign-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.badge-flash-sale {
    background: #E31837;
    color: white;
}

.badge-seasonal-sale {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.badge-holiday-sale {
    background: linear-gradient(135deg, #00b894, #00a085);
    color: white;
}

.badge-bundle-offer {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    color: white;
}

/* Invitation Form Styles */
.invitation-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 3rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}

/* Action Buttons Container */
.action-buttons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.action-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.action-section h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.action-section .form-group {
    margin-bottom: 0;
}

.action-section .form-group:last-child {
    margin-top: auto;
}

.invitation-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.invitation-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.invitation-subtitle {
    color: #6b7280;
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Store Name Highlight */
.invitation-subtitle strong {
    color: #dc2626;
    font-weight: 700;
}

/* Enhanced Invitation Design */
.invitation-form {
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.invitation-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #b91c1c, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

.invitation-form::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.invitation-form > * {
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Action Section Styling */
.action-section {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.action-section:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.action-section h3 {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Accept Section Special Styling */
.action-section:first-child {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.action-section:first-child:hover {
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.action-section:first-child h3 {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decline Section Special Styling */
.action-section:last-child {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.action-section:last-child:hover {
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.action-section:last-child h3 {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.form-control::placeholder {
    color: #9ca3af;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.checkbox-group:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.checkbox-input {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-input:hover {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-input:checked {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    border-color: #dc2626;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.checkbox-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-label {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 56px;
    gap: 0.5rem;
    width: 100%;
}

.btn-accept {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-decline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.btn-decline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Requirements List */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.requirements-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirement-icon {
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.requirement-icon::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.requirement-text {
    color: #374151;
    font-size: 0.95rem;
}

/* Terms and Conditions */
.terms-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #dc2626;
}

.terms-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.terms-content {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
}

.terms-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

/* Fix HTML content formatting */
.terms-content,
.prose {
    /* Reset any inherited styles that might interfere with HTML content */
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* Force HTML content to render properly */
.terms-content *,
.prose * {
    all: unset;
    display: revert;
    box-sizing: border-box;
}

.terms-content p,
.prose p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

.terms-content ul,
.prose ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.terms-content ol,
.prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    list-style-type: decimal;
}

.terms-content li,
.prose li {
    margin-bottom: 0.5rem;
    color: #4b5563;
    line-height: 1.6;
}

.terms-content strong,
.prose strong {
    font-weight: 600;
    color: #1f2937;
}

/* Invitation Status States */
.declined-icon,
.accepted-icon {
    display: inline-block;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
}

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

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease-out;
    position: relative;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: #4b5563;
    line-height: 1.6;
}

.reason-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0;
    text-align: left;
}

.reason-preview strong {
    color: #1f2937;
    font-weight: 600;
}

.reason-preview em {
    color: #6b7280;
    font-style: italic;
}

.warning-text {
    color: #ef4444 !important;
    font-weight: 600;
    font-size: 0.875rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-cancel {
    background: #f3f4f6;
    color: #374151;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.btn-confirm-decline {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-confirm-decline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-confirm-decline:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-confirm-accept {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-confirm-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-confirm-accept:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.info-text {
    color: #3b82f6 !important;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Success Modal */
.success-modal .modal-body {
    padding: 3rem 2rem;
}

.success-icon {
    margin-bottom: 1.5rem;
}

.success-icon span {
    font-size: 4rem;
    color: #10b981;
    animation: bounceIn 0.6s ease-out;
}

.success-message {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        max-width: none;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-confirm-decline {
        width: 100%;
        justify-content: center;
    }
}

.terms-content em,
.prose em {
    font-style: italic;
    color: #4b5563;
}

.terms-content h1,
.terms-content h2,
.terms-content h3,
.terms-content h4,
.terms-content h5,
.terms-content h6,
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.terms-content h1,
.prose h1 { font-size: 1.5rem; }
.terms-content h2,
.prose h2 { font-size: 1.25rem; }
.terms-content h3,
.prose h3 { font-size: 1.125rem; }
.terms-content h4,
.prose h4 { font-size: 1rem; }
.terms-content h5,
.prose h5 { font-size: 0.875rem; }
.terms-content h6,
.prose h6 { font-size: 0.75rem; }

.terms-content blockquote,
.prose blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #6b7280;
}

.terms-content code,
.prose code {
    background: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875em;
    color: #374151;
}

.terms-content pre,
.prose pre {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.terms-content pre code,
.prose pre code {
    background: none;
    padding: 0;
    font-size: 0.875rem;
}

.terms-content a,
.prose a {
    color: #3b82f6;
    text-decoration: underline;
}

.terms-content a:hover,
.prose a:hover {
    color: #1d4ed8;
}

.terms-content table,
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.terms-content th,
.terms-content td,
.prose th,
.prose td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.terms-content th,
.prose th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

/* Navigation Badge Styling */
.filament-navigation-badge {
    background: #f59e0b !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 9999px !important;
    min-width: 1.25rem !important;
    height: 1.25rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Hide newsletter section on campaign pages */
body.campaign-page .newsletter-two,
.campaign-page .newsletter-two {
    display: none !important;
}

/* More specific HTML content rendering fix */
.campaign-page .terms-content,
.campaign-page .prose {
    /* Ensure HTML content renders properly */
    white-space: normal;
    word-wrap: break-word;
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Force all HTML elements to render properly */
.campaign-page .terms-content *,
.campaign-page .prose * {
    all: unset;
    display: revert;
    box-sizing: border-box;
    color: inherit;
    line-height: inherit;
    font-size: inherit;
}

/* Override any conflicting styles with higher specificity */
body.campaign-page .terms-content,
body.campaign-page .prose {
    color: #4b5563 !important;
    line-height: 1.6 !important;
    font-size: 0.875rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

body.campaign-page .terms-content *,
body.campaign-page .prose * {
    all: unset !important;
    display: revert !important;
    box-sizing: border-box !important;
    color: inherit !important;
    line-height: inherit !important;
    font-size: inherit !important;
}

body.campaign-page .terms-content p,
body.campaign-page .prose p {
    display: block !important;
    margin-bottom: 1rem !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    font-size: 0.875rem !important;
}

body.campaign-page .terms-content ul,
body.campaign-page .prose ul {
    display: block !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    list-style-type: disc !important;
}

body.campaign-page .terms-content li,
body.campaign-page .prose li {
    display: list-item !important;
    margin-bottom: 0.5rem !important;
    color: #4b5563 !important;
    line-height: 1.6 !important;
    font-size: 0.875rem !important;
}

body.campaign-page .terms-content strong,
body.campaign-page .prose strong {
    font-weight: 600 !important;
    color: #1f2937 !important;
    display: inline !important;
}

body.campaign-page .terms-content em,
body.campaign-page .prose em {
    font-style: italic !important;
    color: #4b5563 !important;
    display: inline !important;
}

body.campaign-page .terms-content h1,
body.campaign-page .terms-content h2,
body.campaign-page .terms-content h3,
body.campaign-page .terms-content h4,
body.campaign-page .terms-content h5,
body.campaign-page .terms-content h6,
body.campaign-page .prose h1,
body.campaign-page .prose h2,
body.campaign-page .prose h3,
body.campaign-page .prose h4,
body.campaign-page .prose h5,
body.campaign-page .prose h6 {
    display: block !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 0.5rem !important;
    margin-top: 1rem !important;
}

body.campaign-page .terms-content h1,
body.campaign-page .prose h1 { font-size: 1.25rem !important; }
body.campaign-page .terms-content h2,
body.campaign-page .prose h2 { font-size: 1.125rem !important; }
body.campaign-page .terms-content h3,
body.campaign-page .prose h3 { font-size: 1rem !important; }
body.campaign-page .terms-content h4,
body.campaign-page .prose h4 { font-size: 0.875rem !important; }
body.campaign-page .terms-content h5,
body.campaign-page .prose h5 { font-size: 0.875rem !important; }
body.campaign-page .terms-content h6,
body.campaign-page .prose h6 { font-size: 0.875rem !important; }

/* Additional HTML content fixes */
body.campaign-page .terms-content br,
body.campaign-page .prose br {
    display: block !important;
    margin-bottom: 0.5rem !important;
}

body.campaign-page .terms-content blockquote,
body.campaign-page .prose blockquote {
    display: block !important;
    margin: 1rem 0 !important;
    padding: 1rem !important;
    border-left: 4px solid #e5e7eb !important;
    background-color: #f9fafb !important;
    font-style: italic !important;
}

body.campaign-page .terms-content code,
body.campaign-page .prose code {
    display: inline !important;
    background-color: #f3f4f6 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    font-family: monospace !important;
    font-size: 0.875rem !important;
}

body.campaign-page .terms-content pre,
body.campaign-page .prose pre {
    display: block !important;
    background-color: #f3f4f6 !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
    margin: 1rem 0 !important;
}

body.campaign-page .terms-content a,
body.campaign-page .prose a {
    color: #3b82f6 !important;
    text-decoration: underline !important;
    display: inline !important;
}

body.campaign-page .terms-content a:hover,
body.campaign-page .prose a:hover {
    color: #1d4ed8 !important;
}

/* Alert Styles */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f8fafc;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-store {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.product-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.product-original-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-discount {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .campaign-header {
        padding: 4rem 0;
        border-radius: 0 0 30px 30px;
    }
    
    .campaign-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .campaign-title::after {
        width: 60px;
        height: 3px;
        bottom: -8px;
    }
    
    .campaign-subtitle {
        font-size: 1.125rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .campaign-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .invitation-form {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .invitation-title {
        font-size: 2rem;
    }
    
    .invitation-subtitle {
        font-size: 1.125rem;
    }
    
    .action-buttons-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .action-section {
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .campaign-header {
        padding: 2rem 0;
    }
    
    .campaign-title {
        font-size: 2rem;
    }
    
    .invitation-form {
        padding: 1.5rem 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

/* Override Bootstrap styles */
.campaign-container .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.campaign-container .row {
    margin: 0;
}

.campaign-container .col-12 {
    padding: 0;
}

/* Ensure proper spacing */
.campaign-container .mb-8 {
    margin-bottom: 3rem;
}

.campaign-container .mb-6 {
    margin-bottom: 2rem;
}

.campaign-container .mb-4 {
    margin-bottom: 1.5rem;
}

.campaign-container .mb-3 {
    margin-bottom: 1rem;
}

.campaign-container .mb-2 {
    margin-bottom: 0.5rem;
}

/* Text utilities */
.campaign-container .text-center {
    text-align: center;
}

.campaign-container .text-gray-600 {
    color: #6b7280;
}

.campaign-container .text-gray-900 {
    color: #1f2937;
}

.campaign-container .font-bold {
    font-weight: 700;
}

.campaign-container .font-semibold {
    font-weight: 600;
}

/* Grid utilities */
.campaign-container .grid {
    display: grid;
}

.campaign-container .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.campaign-container .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.campaign-container .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campaign-container .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.campaign-container .gap-4 {
    gap: 1rem;
}

.campaign-container .gap-6 {
    gap: 1.5rem;
}

.campaign-container .gap-8 {
    gap: 2rem;
}

@media (max-width: 768px) {
    .campaign-container .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .campaign-container .grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .campaign-container .grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .campaign-container .grid-cols-4 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
