/**
 * WP Anti-Scrape Apply - UI/UX Pro Max Stylesheet
 * Crafted with modern design principles (Elevation, Micro-animations, Clean Gradients)
 */

:root {
    --wpasa-primary: #0033a0;
    --wpasa-primary-hover: #002277;
    --wpasa-primary-glow: rgba(0, 51, 160, 0.25);
    --wpasa-green-text: #1b5e20;
    --wpasa-green-bg: linear-gradient(135deg, #f1f8f1 0%, #e2f0e2 100%);
    --wpasa-green-border: #c8e6c9;
    --wpasa-yellow-bg: linear-gradient(to right, #fffdf0 0%, #fff9e6 100%);
    --wpasa-yellow-border: #f5ecc5;
    --wpasa-red-bg: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    --wpasa-red-text: #b71c1c;
    --wpasa-red-border: #ffcdd2;
    --wpasa-red-icon: #d32f2f;
    --wpasa-text: #333333;
    --wpasa-text-muted: #555555;
    --wpasa-border: #e0e0e0;
    --wpasa-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    --wpasa-shadow-md: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    --wpasa-radius: 12px;
}


/* Interactive Action Button */
.wpasa-card-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--wpasa-primary);
    color: #ffffff !important;
    padding: 13px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px var(--wpasa-primary-glow);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.wpasa-card-button:hover {
    background: var(--wpasa-primary-hover);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 160, 0.35);
}

.wpasa-card-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px var(--wpasa-primary-glow);
}

.wpasa-btn-arrow {
    transition: transform 0.25s ease;
    opacity: 0.85;
}

.wpasa-card-button:hover .wpasa-btn-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Card Footer (Close Date) */
.wpasa-card-footer {
    background: var(--wpasa-yellow-bg);
    padding: 14px 22px;
    border-top: 1px solid var(--wpasa-yellow-border);
    color: var(--wpasa-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpasa-footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #e65100;
    background: rgba(230, 81, 0, 0.08);
    padding: 5px;
    border-radius: 6px;
}

/* Closed Banner (UI/UX Pro Max Alert) */
.wpasa-closed-banner {
    background: var(--wpasa-red-bg);
    color: var(--wpasa-red-text);
    border: 1px solid var(--wpasa-red-border);
    border-radius: var(--wpasa-radius);
    padding: 20px 24px;
    margin: 35px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpasa-closed-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(211, 47, 47, 0.12);
}

.wpasa-closed-banner .wpasa-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wpasa-red-icon);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.4);
    flex-shrink: 0;
}

.wpasa-closed-banner .wpasa-svg-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.8;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .wpasa-card-footer, .wpasa-closed-banner {
        padding: 16px;
    }
    .wpasa-card-button {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}
/* Apply Result Styles */
.wpasa-res-card { margin-top: 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); text-align: left; overflow: hidden; animation: wpasa-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes wpasa-fade-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.wpasa-res-header { background: #edf7ed; color: #1b5e20; padding: 16px 22px; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #c8e6c9; }
.wpasa-res-check { color: #2e7d32; display: flex; align-items: center; }
.wpasa-res-body { padding: 24px 22px; }
.wpasa-res-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.wpasa-res-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 15px; }
.wpasa-res-lbl { color: #64748b; font-weight: 500; min-width: 95px; }
.wpasa-res-pos { color: #15803d; font-weight: 700; font-size: 16px; }
.wpasa-res-comp { color: #0f172a; font-weight: 700; font-size: 16px; }
.wpasa-res-divider { height: 1px; background: #f1f5f9; margin: 20px 0; }
.wpasa-res-list { display: flex; flex-direction: column; gap: 20px; }
.wpasa-res-item { display: flex; flex-direction: column; gap: 6px; }
.wpasa-res-item-lbl { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; }
.wpasa-res-item-lbl svg { color: #10b981; }
.wpasa-res-item-val { font-size: 15px; line-height: 1.5; color: #1e293b; }
.wpasa-res-link { color: #0284c7; text-decoration: none; font-weight: 600; transition: color 0.2s ease; }
.wpasa-res-link:hover { color: #0369a1; text-decoration: underline; }
.wpasa-res-break { word-break: break-all; }
.wpasa-res-text { background: #f8fafc; padding: 12px 16px; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 14.5px; color: #334155; }
.wpasa-res-date { font-weight: 600; color: #0f172a; }
.wpasa-res-footer { background: linear-gradient(to right, #fffdf0 0%, #fff9e6 100%); padding: 14px 22px; border-top: 1px solid #f5ecc5; color: #333333; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.wpasa-footer-icon { display: inline-flex; align-items: center; justify-content: center; color: #e65100; background: rgba(230, 81, 0, 0.08); padding: 5px; border-radius: 6px; }
