/*  Custom Css for Applications page */
.app-store-container {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px;
}
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.app-card {
display: flex;
flex-direction: column;
align-items: center;
background: #ffffff;
border-radius: 8px;
padding: 15px;
box-shadow: 4px 0px 12px 5px rgb(191 191 191 / 10%);
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
border: 1px solid #cccccca1;
}
.app-card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #e0e0e0a1;
    position: relative;
}
.app-icon img {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: cover;
}
.app-details h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}
.app-details p {
    margin: 5px 0;
    color: #666;
    font-size: 16px;
}
.app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
    flex-direction: column;
}
.btn {
    background-color: #4e37e5;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
    font-size: 18px;
    margin-top: 0px;
}
.btn:hover {
    background-color: #3d27c9;
    color: #fff;
}
.btn img {
    width: 25px;
    height: 25px;
}
.search-bar {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}
.search-bar input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    text-align: center;
}
.unavailable-text {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 50px;
    padding: 10px;
    font-weight: bold;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.unavailable-text img {
    width: 25px;
    height: 25px;
}
.code-button {
    margin-top: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: #e2e3e5;
    padding: 10px;
    gap: 8px;
    transition: background-color 0.3s;
    justify-content: center;
     border-radius: 50px;
}
.code-button:hover {
    background-color: #d6d7da;
}
.code-button img {
    width: 25px;
    height: 25px;
}
.code-button span {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}
/* Css Code Ending here */
.app-card-lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 4px 0px 12px 5px rgb(191 191 191 / 10%);
    text-align: center;
    border: 2px solid #e0e0e0a1;
    position: relative; /* إضافة هذه الخاصية */
    overflow: hidden; /* إخفاء أي عناصر تتجاوز حدود الكرت */

}
.app-card:hover {
    transform: scale(1.03);
}
.app-icon-lg img {
    object-fit: cover;
    width: 100px;
    height: 100px;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #e0e0e0a1;
    position: relative;
    padding: 14px;
    border-radius: 20px;
}
.header-applications {
    text-align: center;
    background-color: #4e37e5;
    color: white;
    padding: 15px;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid #333;
}
p.app-text-modified {
    width: 100%;
    background: #fff6bf;
    padding: 10px;
    border: 2px solid #33333321;
    border-radius: 10px;
    color: #983131;
    font-size: large;
font-weight: bold;
}
/* إضافة تنسيق لاسم التطبيق */
.app-name {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    background-color: #ffd217;
    padding: 5px 10px;
    border-radius: 5px;
    transform: rotate(-45deg);
    z-index: 1; /* تأكد من أن العنصر يبقى فوق الخلفية لكن داخل حدود الكرت */
    position: absolute;
    top: 27px;
    left: -81px;
    width: 250px;
    border: 2px solid #e0e0e0a1;
}