/* Basic demo styles */
/* You can add any other demo-specific styles here */

/* >> CSS للتصميم المدمج والنهائي << */

/* 1. الـ Wrapper الذي يحيط بالحقل والشعار لتحديد موضع الشعار */
.phone-input-container {
    position: relative;     /* ضروري لتحديد موضع الشعار بشكل صحيح */
    max-width: 750px;
    margin: 0 auto;         /* توسيط المكون بالكامل */
}

/* 2. حقل الإدخال الكبير مع مساحة للشعار على اليسار */
.phone-input-large {
    height: 120px;
    font-size: 4rem;       /* خط كبير وواضح */
    text-align: center;       /* توسيط الرقم المكتوب */
    font-weight: 500;
    padding-left: 100px;       /* << ترك مساحة كافية على اليسار للشعار */
}

/* 3. حاوية الشعار التي ستوضع فوق الحقل على اليسار */
#carrier-logo-icon-area {
    position: absolute;
    left: 0px;                /* المسافة من الحافة اليسرى */
    top: 50%;                 /* للتوسيط العمودي */
    transform: translateY(-50%);
    height: 70px;             /* ارتفاع الحاوية */
    width: 70px;              /* عرض الحاوية */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;     /* لمنع الشعار من إعاقة النقر على الحقل */
}

#carrier-logo-icon-area img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 8px;
    animation: popIn 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* تأثير ظهور جذاب للشعار */
@keyframes popIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.carrier-filter-item img {
    transition: transform 0.2s;
    border-radius: 0.5rem;
    padding: 5px;
    background-color: transparent;
}
.carrier-filter-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.card-out-of-stock {
    position: relative;
    opacity: 0.6;
}
.out-of-stock-ribbon {
    position: absolute;
    top: 20px;
    left: -30px;
    transform: rotate(-45deg);
    background-color: #ffc107;
    color: black;
    padding: 5px 30px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;




    
}

.card {
    overflow: hidden;
}
