.pixel-wa-container {
    position: fixed;
    bottom: 25px;
    left: 25px; 
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.pixel-wa-button {
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    animation: wa-pulse-green 2s infinite;
}

.pixel-wa-button:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.pixel-wa-button svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.pixel-wa-tooltip {
    background: #ffc300;
    color: #333333;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s ease;
    pointer-events: none;
    font-family: sans-serif;
}

.pixel-wa-tooltip.is-visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes wa-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


.px-sys-wrapper {
    max-width: 900px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    overflow: hidden;
    min-height: 450px;
    position: relative;
}

.px-sys-header {
    background: #ffc300; 
    color: #fff;
    padding: 25px;
    text-align: center;
}

.px-sys-header h1 { margin: 0; font-size: 24px; color: #ffcc00; }

.px-sys-body { padding: 40px; text-align: center; }

.px-sys-step { display: none; }
.px-sys-step.active { display: block; animation: pxFadeIn 0.5s ease; }

.px-sys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.px-sys-card {
    border: 2px solid #f0f0f0;
    padding: 25px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.px-sys-card:hover {
    border-color: #ffcc00;
    background: #fff;
    transform: translateY(-5px);
}

.px-sys-card.selected {
    border-color: #003c71;
    background: #eef4f9;
}

.px-sys-card i { font-size: 40px; margin-bottom: 15px; display: block; }

.px-sys-footer {
    padding: 20px 40px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.px-sys-btn {
    padding: 10px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.px-sys-btn-next { background: #ffcc00; color: #000; }
.px-sys-btn-next:disabled { background: #ccc; cursor: not-allowed; }

.px-sys-btn-back { background: #ddd; color: #333; }

#px-result-box {
    padding: 20px;
    border: 2px dashed #003c71;
    border-radius: 10px;
    margin-top: 20px;
    background: #fffdf5;
}

@keyframes pxFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}