/* Company Coupon Modal Styles */
.company-coupon-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.company-coupon-modal.show {
    opacity: 1;
    visibility: visible;
}

.company-coupon-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 450px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.company-coupon-modal.show .company-coupon-modal-content {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.company-coupon-modal-header {
    background: #13203B;
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.company-info-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.company-modal-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.company-modal-details {
    flex: 1;
}

.company-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.3;
    color: white !important;
}

.company-modal-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.percent-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white !important;
}

.verified-badge {
    background: #13203B !important;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    color: white !important;
}

  
.company-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.company-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Modal Body */
.company-coupon-modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

/* Coupon Code Section */
.coupon-code-section {
    margin-bottom: 20px;
    position: relative;
}

.code-display-container {
    display: flex;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.coupon-code-input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    background: transparent;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.coupon-code-input:focus {
    outline: none;
}

.copy-code-btn {
    background: #13203B;
    border: none;
    padding: 12px 16px;
    color: white !important;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 100px;
    justify-content: center;
    white-space: nowrap;
}

.copy-code-btn i {
    font-size: 1rem;
}

.copy-code-btn span {
    color: white !important;
}

.copy-code-btn:hover {
    background: #1a2a4a;
    transform: translateY(-1px);
}

.copy-code-btn.copied {
    background: #28a745;
}

.copy-success-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #13203B;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 6px 16px rgba(19, 32, 59, 0.25);
    font-size: 0.9rem;
    border-left: 4px solid #28a745;
}

.copy-success-message.show {
    opacity: 1;
    visibility: visible;
}

/* Coupon Details Section */
.coupon-details-section {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #13203B;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    font-size: 1rem;
    color: #13203B;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: #333;
}

.detail-content p {
    margin: 0;
    color: #666;
    line-height: 1.3;
    font-size: 0.8rem;
}

/* Terms Section */
.coupon-terms-section {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.coupon-terms-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    position: relative;
    padding: 3px 0 3px 14px;
    color: #666;
    line-height: 1.3;
    font-size: 0.75rem;
}

.terms-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #13203B;
    font-weight: bold;
}

/* Modal Footer */
.company-coupon-modal-footer {
    padding: 15px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 16px 16px;
}

.feedback-section {
    text-align: center;
}

.feedback-section span {
    display: block;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.feedback-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.feedback-btn {
    border: 1px solid #e9ecef;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    justify-content: center;
    background: white;
    color: #666;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feedback-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feedback-btn.success {
    background: #f8f9fa;
    color: #28a745;
    border-color: #28a745;
}

.feedback-btn.success:hover {
    background: rgba(40, 167, 69, 0.1);
    color: #1e7e34;
    border-color: #1e7e34;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.feedback-btn.error {
    background: #f8f9fa;
    color: #dc3545;
    border-color: #dc3545;
}

.feedback-btn.error:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #bd2130;
    border-color: #bd2130;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.feedback-btn i {
    font-size: 0.9rem;
}

.feedback-confirmation {
    background: #28a745;
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 576px) {
    .company-coupon-modal {
        padding: 15px;
    }
    
    .company-coupon-modal-content {
        max-height: 90vh;
    }
    
    .company-coupon-modal-header {
        padding: 15px;
        flex-direction: column;
        gap: 12px;
    }
    
    .company-info-section {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .company-modal-title {
        font-size: 1rem;
    }
    
    .company-coupon-modal-body {
        padding: 15px;
    }
    
    .code-display-container {
        flex-direction: column;
    }
    
    .copy-code-btn {
        border-radius: 0 0 12px 12px;
        padding: 10px;
    }
    
    .coupon-code-input {
        border-radius: 12px 12px 0 0;
        padding: 10px;
    }
    
    .company-coupon-modal-footer {
        padding: 12px;
    }
    
    .feedback-buttons {
        flex-direction: column;
        gap: 6px;
    }
    
    .feedback-btn {
        width: 100%;
    }
}

/* Animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.company-coupon-modal.show .company-coupon-modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

/* Hide scrollbar but keep functionality */
.company-coupon-modal-body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.company-coupon-modal-body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #13203B;
    color: white !important;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(19, 32, 59, 0.25);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 4px solid #28a745;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    border-left-color: #28a745;
}

.toast-notification.success i {
    color: #28a745;
}

.toast-notification.error {
    border-left-color: #dc3545;
}

.toast-notification.error i {
    color: #dc3545;
}

.toast-notification i {
    font-size: 1.1rem;
}

.toast-notification span {
    color: white !important;
}

/* Newsletter Section */
.newsletter-section {
    margin: 30px 0;
    padding: 20px 0;
    background: linear-gradient(135deg, #13203B 0%, #1a2a4a 100%);
    border-radius: 16px;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.newsletter-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-icon i {
    font-size: 20px;
    color: white;
}

.newsletter-text h3 {
    color: white !important;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.newsletter-text h3,
.newsletter-text h3 * {
    color: white !important;
}

.newsletter-section .newsletter-text h3 {
    color: white !important;
}

.newsletter-section .newsletter-text h3 span {
    color: white !important;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.newsletter-form {
    max-width: 500px;
}

.newsletter-input-group {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 450px;
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    padding: 14px 18px;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: #999;
}

.newsletter-input-group button {
    background: #155724;
    border: none;
    padding: 14px 20px;
    color: white !important;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.newsletter-input-group button span {
    color: white !important;
}

.newsletter-input-group button i {
    color: white !important;
}

.newsletter-input-group button:hover:not(:disabled) {
    background: #0f3d1a;
    transform: translateY(-1px);
}

.newsletter-input-group button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-message {
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.newsletter-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Responsive Newsletter */
@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .newsletter-text h3 {
        font-size: 1.2rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group input {
        border-radius: 12px 12px 0 0;
    }
    
    .newsletter-input-group button {
        border-radius: 0 0 12px 12px;
    }
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
    padding: 30px 0;
    background: #f8f9fa;
    border-radius: 16px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-header h2 {
    color: #13203B;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.faq-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #13203B;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: #13203B;
    color: white;
}

.faq-question-text {
    flex: 1;
    margin-right: 15px;
    line-height: 1.4;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(19, 32, 59, 0.1);
    color: #13203B;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-toggle {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.faq-answer.show {
    max-height: 500px;
}

.faq-answer-content {
    padding: 20px;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-answer-content p {
    margin: 0 0 12px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content strong {
    color: #13203B;
    font-weight: 600;
}

.faq-answer-content a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.faq-answer-content a:hover {
    text-decoration: underline;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 16px;
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 16px;
        font-size: 0.9rem;
    }
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
    padding: 30px 0;
    background: #f8f9fa;
    border-radius: 16px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-header h2 {
    color: #13203B;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.faq-header p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #13203B;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: 20px;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    background: #13203B;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle:hover {
    background: #1a2a4a;
    transform: scale(1.05);
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8f9fa;
}

.faq-answer.show {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 20px 20px 20px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-answer-content p {
    margin: 0 0 12px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content strong {
    color: #13203B;
    font-weight: 600;
}

.faq-answer-content a {
    color: #28a745;
    text-decoration: none;
    font-weight: 500;
}

.faq-answer-content a:hover {
    text-decoration: underline;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        padding: 16px;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
        padding-right: 15px;
    }
    
    .faq-answer-content {
        padding: 0 16px 16px 16px;
        font-size: 0.9rem;
    }
}
