/* Main wrapper */
.poid-wrapper {
    display: block;
    max-width: 100%;
    margin: 0 auto 30px;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
}

/* Container with white border */
.poid-container {
    border: 2px solid white;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

/* Image container */
.poid-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Button container */
.poid-button-container {
    padding: 15px 10px;
    text-align: center;
    background: white;
}

/* Download button - responsive */
.poid-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    min-width: 180px; /* Better mobile touch target */
    max-width: 250px;
    background: linear-gradient(135deg, #00c993 0%, #008c6d 100%);
    color: white !important;
    padding: 8px 8px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Mobile-specific styles */
@media (max-width: 480px) {
    .poid-download-btn {
        width: 70%; /* Slightly wider on small screens */
        min-width: 160px;
        padding: 14px 20px; /* Larger touch target */
        font-size: 16px; /* Slightly larger text */
    }
    
    .poid-button-container {
        padding: 12px 5px; /* Adjusted spacing */
    }
}

/* Hover effects */
.poid-download-btn:hover {
    background: linear-gradient(135deg, #00b383 0%, #007a5d 100%);
    transform: translateY(-2px);
}

/* Icon styling */
.poid-download-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Text wrapper for better mobile rendering */
.poid-download-btn span {
    white-space: nowrap;
}