/* PlugMeNow Embed — Styles */

/* ------------------------------------------------------------------ */
/*  Iframe container                                                   */
/* ------------------------------------------------------------------ */
.plugmenow-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.plugmenow-iframe {
    width: 100%;
    border: none;
    display: block;
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------------ */
/*  Loading skeleton                                                   */
/* ------------------------------------------------------------------ */
.plugmenow-skeleton {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
}

.plugmenow-skeleton-icon {
    font-size: 48px;
    animation: plugmenow-pulse 1.5s ease-in-out infinite;
}

.plugmenow-skeleton-text {
    margin-top: 12px;
    font-size: 14px;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes plugmenow-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ------------------------------------------------------------------ */
/*  Mobile: full viewport                                              */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
    .plugmenow-container {
        border-radius: 0;
        box-shadow: none;
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px) !important;
    }

    .plugmenow-iframe {
        height: calc(100vh - 60px) !important;
    }
}

/* ------------------------------------------------------------------ */
/*  Link / button styles                                               */
/* ------------------------------------------------------------------ */
.plugmenow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plugmenow-btn-icon {
    flex-shrink: 0;
}

/* Primary: green background */
.plugmenow-btn-primary {
    background-color: #1B7B4E;
    color: #ffffff;
    border: 2px solid #1B7B4E;
}

.plugmenow-btn-primary:hover {
    background-color: #15633e;
    border-color: #15633e;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 123, 78, 0.3);
}

/* Secondary: white background, green border */
.plugmenow-btn-secondary {
    background-color: #ffffff;
    color: #1B7B4E;
    border: 2px solid #1B7B4E;
}

.plugmenow-btn-secondary:hover {
    background-color: #f0fdf4;
    color: #15633e;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 123, 78, 0.15);
}

/* Outline: transparent, green border */
.plugmenow-btn-outline {
    background-color: transparent;
    color: #1B7B4E;
    border: 2px solid #1B7B4E;
}

.plugmenow-btn-outline:hover {
    background-color: #1B7B4E;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(27, 123, 78, 0.3);
}
