/* Opportunity Show Page Styles */

/* Coupon Display Styles */
.coupon-display {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}



.coupon-code-display {
    display: inline-block;
    font-family: 'Monaco', 'Menlo', monospace;
    letter-spacing: 2px;
    font-weight: 700;
    user-select: all;
    transition: all 0.3s ease;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(213, 126, 255, 0.2);
}



/* QR Display Styles */
.qr-display {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}



.qr-container {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}


.qr-container svg {
    display: block;
    margin: 0 auto;
}

/* Poll Form Styles */
.poll-form-container {
    text-align: left;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin: 1rem 0;
    border: 1px solid rgba(142, 68, 173, 0.08);
}

.poll-title {
    color: #2e2e2e;
    font-size: 22px;
    letter-spacing: 0.1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.poll-category {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(142, 68, 173, 0.12);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.poll-category:hover {
    border-color: rgba(142, 68, 173, 0.2);
}

.category-title {
    color: #2e2e2e;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.category-subtitle {
    font-size: 13px;
    line-height: 1.5;
    color: #6c757d;
    margin-bottom: 1rem;
}

.submit-poll-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-poll-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}


/* Countdown Timer Styles */
.countdown-timer {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}



.countdown-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Alert Messages */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-info {
    background: linear-gradient(135deg, #cce7ff 0%, #b3d9ff 100%);
    color: #004085;
    border-left: 4px solid #007bff;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f1b0b7 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Button Styles */
.trial-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}



.trial-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Card Styles */
.card-style-twenty {
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}



/* Tags */
.cat-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 3px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-weight: 600;
    color: #6c757d;
    margin: 0 8px;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #ff574d;
}

.breadcrumb-item.active {
    color: #2c3e50;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .coupon-display,
    .qr-display,
    .poll-form-container {
        margin: 0.5rem 0;
        padding: 1rem;
    }
    
    .poll-category {
        padding: 1rem;
    }
    
    .coupon-code-display {
        font-size: 24px !important;
        padding: 12px 20px !important;
        letter-spacing: 1px;
    }
    
    .poll-title {
        font-size: 18px;
    }
    
    .category-title {
        font-size: 1rem;
    }
    
    .trial-button {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .coupon-code-display {
        font-size: 20px !important;
        padding: 10px 16px !important;
        word-break: break-all;
    }
    
    .qr-container {
        padding: 0.5rem;
    }
    
    .card-style-twenty {
        border-radius: 12px;
    }
    
    .poll-form-container {
        border-radius: 12px;
        padding: 1rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

.pulse-animation {
    animation: pulse 2s ease-in-out;
}

/* Loading States */
.loading-overlay {
    position: relative;
    pointer-events: none;
}

.loading-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: inherit;
    z-index: 1;
}

.loading-overlay::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 2px solid #ff574d;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 1s linear infinite;
    z-index: 2;
}

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