/* Amazon eGift Card Payment Section Styles */

.amazon-giftcard-payment {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.amazon-giftcard-payment:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.amazon-giftcard-header {
    margin-bottom: 1.5rem;
}

.amazon-giftcard-header h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.amazon-giftcard-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.amazon-giftcard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.amazon-giftcard-image-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amazon-giftcard-image-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.amazon-giftcard-image {
    width: 250px;
    height: auto;
    max-width: 100%;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.amazon-giftcard-image:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.amazon-giftcard-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.amazon-giftcard-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.amazon-giftcard-price {
    background: var(--bg-darker);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 1rem 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    min-width: 200px;
    max-width: 100%;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.amazon-giftcard-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.amazon-giftcard-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.amazon-giftcard-instructions {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.amazon-giftcard-instructions ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.amazon-giftcard-instructions li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.amazon-giftcard-instructions strong {
    color: var(--primary-color);
}

.amazon-giftcard-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.amazon-giftcard-note p {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.amazon-giftcard-note strong {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .amazon-giftcard-payment {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-header h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .amazon-giftcard-header p {
        font-size: 0.85rem;
    }

    .amazon-giftcard-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .amazon-giftcard-image-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-image {
        width: 200px;
        max-width: 90%;
        box-sizing: border-box;
    }
    
    .amazon-giftcard-info-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .amazon-giftcard-price {
        font-size: 1.5rem;
        padding: 1rem 1.5rem;
        min-width: auto;
        width: 100%;
        max-width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .amazon-giftcard-link {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .amazon-giftcard-instructions {
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
        font-size: 0.85rem;
    }

    .amazon-giftcard-instructions ol {
        padding-left: 1.25rem;
    }

    .amazon-giftcard-note {
        font-size: 0.85rem;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-note p {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .amazon-giftcard-payment {
        padding: 1.25rem 0.75rem;
        margin: 1rem 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-header h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .amazon-giftcard-header p {
        font-size: 0.8rem;
    }

    .amazon-giftcard-content {
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-image {
        width: 180px;
        max-width: 85%;
        box-sizing: border-box;
    }

    .amazon-giftcard-price {
        font-size: 1.25rem;
        padding: 0.875rem 1rem;
        min-width: auto;
        width: 100%;
        max-width: 100%;
        letter-spacing: 0.5px;
        word-break: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .amazon-giftcard-link {
        font-size: 0.85rem;
        padding: 0.625rem 1.25rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-instructions {
        font-size: 0.8rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-instructions ol {
        padding-left: 1rem;
    }

    .amazon-giftcard-note {
        font-size: 0.8rem;
        padding: 0.875rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .amazon-giftcard-note p {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}
