/* Smart&Sham for icons - Frontend Styles */

/* حاوية المجموعة */
.rem-group { 
    display: flex; 
    gap: 1rem;            /* مسافة بين الأزرار */
    flex-wrap: wrap; 
    margin: 5px 0; 
    padding: 10px; 
    background: #f9f9f9; 
    border: 1px dashed #ccc; 
    border-radius: 5px; 
}

/* الزر ثلاثي الأبعاد */
.rem3d {
    appearance: none; 
    border: none; 
    position: relative;
    padding: 0.4rem 0.4rem; 
    border-radius: 14px;
    color: #fff; 
    background: linear-gradient(145deg, #c61f18, #a51410);
    box-shadow: 
        0 8px 14px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.25),
        inset 0 -6px 12px rgba(0,0,0,0.2);
    font-size: 13px !important; /* النص */
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 700; 
    text-decoration: none;
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: .4rem;             /* مسافة بين النص والأيقونة */
    transition: all 180ms ease;
    margin: 0.2rem;         /* مسافة بين الأزرار */
    cursor: pointer;
}

/* تأثير التحويم */
.rem3d:hover {
    background-color: #0071e6 !important;
    background-image: none !important;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.25);
}

/* الأيقونة داخل الزر */
.rem-icon { 
    font-size: 1.1em; 
    line-height: 1;
}

/* المعاينة الحية */
.live-preview {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

/* كتلة الزر داخل لوحة التحكم */
.button-block {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    background: #fafafa;
}

/* زر الحذف */
.remove-button {
    margin-top: 5px;
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 150ms ease;
}

.remove-button:hover {
    background: #b91c1c;
}
