﻿/* ------------- 31/05/2026 ------------- */



.img_qr
{
    padding: 3px;
    margin: 10px auto 10px auto;
    border-radius: 6px;
    width: 200px;
    height: 200px;
    border: 2px solid #993399;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    place-items: center !important;
    box-shadow: 0px 1px 2px #eee, 0px 2px 2px #e9e9e9, 0px 3px 2px #ccc, 0px 4px 2px #c9c9c9, 0px 5px 2px #bbb, 0px 6px 2px #b9b9b9, 0px 7px 2px #999, 0px 7px 2px rgba(0,0,0,.5), 0px 7px 2px rgba(0,0,0,0.1), 0px 7px 2px rgba(0,0,0,.73), 0px 3px 5px rgba(0,0,0,.3), 0px 5px 10px rgba(0,0,0,.37), 0px 10px 10px rgba(0,0,0,.1), 0px 20px 20px rgba(0,0,0,0.1);
}   


.btn_copy22 {
    width: 30%;
    min-width: 250px;
    height: 40px;
    margin: 8px auto 8px auto;
    padding: 8px;
    border: 2px solid var(--clr1);
    border-radius: 5px;
    background: linear-gradient(to bottom, var(--clr2), var(--clr1));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    font-family: 'Tajawal', sans-serif;
    color: #FFFFFF;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn_copy22:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}


.tab-btn2
{
    margin: 8px auto 8px auto;
    width: 30% !important;
    max-width: 300px !important;
    height: auto;
    padding: 5px;
    border-radius: 5px;
    border: 3px solid #0000FF;
    background: linear-gradient(to bottom, var(--clr2), var(--clr1));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 900;
    font-family: 'Tajawal' , sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    line-height: 25px;
    text-align: center;
    text-decoration: none;
}

.tab-btn2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.hidcss {
    display: none;
}

.showcss {
    display: inline-block; 
}



.select2-container--default .select2-selection--single
{
    background-color: #FFFFFF;
    border: 2px solid #4F008C !important;
    height: 45px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    direction: rtl !important;
    font-size: calc(0.8em + 0.7vw) !important;
    font-weight: 900;
    color: #000080 !important;
}

/* 2. الجزء الداخلي اللي فيه النص والعلم */
.select2-container .select2-selection--single .select2-selection__rendered
{
    width: 100% !important;
    color: #000080 !important;
    font-size: calc(0.8em + 0.7vw) !important;
    font-weight: 900 !important;
    font-family: Tajawal, 'sans-serif !important';
    text-align: center !important;
    padding-right: 10px !important;
    line-height: normal !important;
}

/* 3. تعديل السهم (الـ Arrow) عشان ميبقاش شكله قديم */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px !important;
    top: 0px !important;
    left: 25px !important;               
    right: auto !important;
}

/* 4. تعديل شكل القائمة المنسدلة نفسها (عشان تبقى شبه الـ Input) */
.select2-dropdown {
    background-color: #FFFF99 !important;
    border: 2px solid #000066 !important;
    direction: rtl !important;
}




 /* flags */
.force-center-wrapper {
width: 100% !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
}


.force-center-wrapper .select2-container{
margin: 8px auto 0 auto;
width: 300px !important;
text-align: center !important;
}



  /* mob ******/

@media (max-width:910px) and (min-width:200px) { 
 .desc
    {
        width: 96%;
        height: auto;
        margin: 10px auto 10px auto;
        padding: 0px;
        direction: rtl;
        
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        text-align: justify center;
        color: #000066;
        font-weight: 900;
        font-size: calc(0.4em + 0.3vw) !important;
        font-family: 'Tajawal' , sans-serif;
        border-radius: 5px;
        border: 2px solid var(--clr1);
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    }
 
 .desc2
    {
        width: 99%;
        height: auto;
        margin: auto;
        padding: 4px 2px 4px 2px;
        direction: rtl;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        color: var(--clr1);
        font-family: 'Tajawal' , sans-serif;
        text-align: justify;
        border-radius: 5px;
        background-color: #fff;
        font-size: calc(0.8em + 0.9vw) !important;
        font-weight: 900;
    }
 
 
    .desc_caption {
    width: 100%;
    height: 35px;
    padding: 0px;
    margin: auto;
    font-family: 'Tajawal', sans-serif;
    font-size: calc(0.7em + 0.7vw) !important;
    color: #FFFFFF;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--clr1);
    border-radius: 3px 3px 0px 0px;
    border: 2px solid var(--clr1);
} 

 .desc_caption2 {
    width: 100%;
    height: 35px;
    padding: 0px;
    margin: auto;
    font-family: 'Tajawal', sans-serif;
    font-size: calc(0.6em + 0.7vw) !important;
    color: #FFFFFF;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--clr1);
    border-radius: 0px;
    border: 2px solid var(--clr1);
} 

.desc_caption3
    {
        width: 100%;
        height: 35px;
        padding: 6px 0px 0px 0px;
        margin: auto;
        font-family: 'Tajawal' , sans-serif;
        font-size: calc(1.0em + 1.4vw) !important;
        color: #FFFFFF;
        font-weight: 900;
        display: block;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: var(--clr1);
        border-radius: 0px;
        border: 2px solid var(--clr1);
        top: 5px !important;
    } 
 
 
 
 
 .desc_caption4
    {
        width: 100%;
        height: 35px;
        padding: 6px 0px 0px 0px;
        margin: auto;
        font-family: 'Tajawal' , sans-serif;
        font-size: calc(1.0em + 1.4vw) !important;
        color: #FFFFFF;
        font-weight: 900;
        display: block;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: var(--clr1);
        border-radius: 0px;
        border: 2px solid var(--clr1);
        top: 5px !important;
    } 
  .btn_download
    {
        width: 90%;
        height: 35px;
        min-height: 45px;
        margin: 10px auto 10px auto;
        padding: 10px;
        border: 2px solid var(--clr1);
        border-radius: 5px;
        background: linear-gradient(to bottom, #a066d9, #4F008C);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        font-weight: 900;
        color: #FFFFFF;
        transition: transform 0.2s, box-shadow 0.2s;
        cursor: pointer;
        font-size: 19px;
        font-family: 'Tajawal' , sans-serif;
        direction: ltr !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-direction: row;
        text-align: center;
        text-decoration: none;
    }

  .btn_download:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
    background-color: #0000FF !important;
}
        
    .tabs
    {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 8px 8px 12px 8px;
        margin: auto auto 4px auto;
        display: flex;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }
    
  
    .tab-btn
    {
        width: 90%;
        height: auto;
        min-height: 45px;
        margin: 6px auto;
        padding: 10px;
        border: 2px solid var(--clr1);
        border-radius: 5px;
        background: linear-gradient(to bottom, #a066d9, #4F008C);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        font-weight: 900;
        color: #FFFFFF;
        transition: transform 0.2s, box-shadow 0.2s;
        cursor: pointer;
        font-size: 19px;
        font-family: 'Tajawal' , sans-serif;
        direction: ltr !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-direction: row;
        text-align: center;
        text-decoration: none;
    }

  .tab-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
    background-color: #0000FF !important;
}
}







  /* PC ******/
 @media only screen and (max-width:1600px) and (min-width:900px) 
 {
/* --- Descriptions & Captions --- */
.desc
    {
        width: 96%;
        height: auto;
        margin: 10px auto 10px auto;
        padding: 0px;
        direction: rtl;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #000066;
        font-weight: 900;
        font-size: calc(0.4em + 0.3vw) !important;
        font-family: 'Tajawal' , sans-serif;
        border-radius: 5px;
        border: 2px solid var(--clr1);
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    }
    
.desc2
    {
        width: 99%;
        height: auto;
        margin: auto;
        padding: 2px;
        direction: rtl;
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
        color: var(--clr1);
        font-family: 'Tajawal' , sans-serif;
        line-height: 2;
        text-align: justify;
        border-radius: 5px;
        background-color: #fff;
        font-size: calc(0.6em + 0.5vw) !important;
        font-weight: 900;
    }


.desc_caption {
    width: 100%;
    height: 35px;
    padding: 0px;
    margin: auto;
    font-family: 'Tajawal', sans-serif;
    font-size: calc(0.4em + 0.3vw) !important;
    color: #FFFFFF;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--clr1);
    border-radius: 4px 4px 0px 0px;
    border: 2px solid var(--clr1);
} 
    
  
 .desc_caption2 {
    width: 100%;
    height: 35px;
    padding: 0px;
    margin: auto;
    font-family: 'Tajawal', sans-serif;
    font-size: calc(0.4em + 0.3vw) !important;
    color: #FFFFFF;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--clr1);
    border-radius: 0px;
    border: 2px solid var(--clr1);
} 
     
     
.desc_caption3
    {
        width: 100%;
        height: 35px;
        padding: -5px 0px 0px 0px;
        margin: auto;
        font-family: 'Tajawal' , sans-serif;
        font-size: calc(0.7em + 0.6vw) !important;
        color: #FFFFFF;
        font-weight: 900;
        display: block;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: var(--clr1);
        border-radius: 0px;
        border: 2px solid var(--clr1);
        top: 5px !important;
    } 
 
.desc_caption4
    {
        width: 100%;
        height: 35px;
        padding: 1px 0px 0px 0px;
        margin: auto;
        font-family: 'Tajawal' , sans-serif;
        font-size: calc(0.7em + 0.7vw) !important;
        color: #FFFFFF;
        font-weight: 900;
        display: block;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: var(--clr1);
        border-radius: 0px;
        border: 2px solid var(--clr1);
        top: 5px !important;
    } 
  .btn_download
    {
        width: 30%;
        height: 35px;
        min-height: 45px;
        margin: 16px auto;
        padding: 10px;
        border: 2px solid var(--clr1);
        border-radius: 5px;
        background: linear-gradient(to bottom, #a066d9, #4F008C);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        font-weight: 900;
        color: #FFFFFF;
        transition: transform 0.2s, box-shadow 0.2s;
        cursor: pointer;
        font-size: 19px;
        font-family: 'Tajawal' , sans-serif;
        direction: ltr !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-direction: row;
        text-align: center;
        text-decoration: none;
    }

  .btn_download:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
    background-color: #0000FF !important;
}
 .tabs
{
    padding: 8px 8px 12px 8px;
    margin: auto auto 4px auto;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}
.tab-btn
    {
        width: 15%;
        height: auto;
        margin: 4px auto auto auto;
        padding: 10px;
        border: 2px solid var(--clr1);
        border-radius: 5px;
        background: linear-gradient(to bottom, #a066d9, #4F008C);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        font-weight: 900;
        color: #FFFFFF;
        transition: transform 0.2s, box-shadow 0.2s;
        cursor: pointer;
        font-size: 18px;
        font-family: 'Tajawal' , sans-serif;
        direction: ltr !important;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-direction: row;
        text-align: center;
        text-decoration: none;
    }

.tab-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
   
    background: #aa3dff !important; 
}

  }   
  
  
 
 
 
      
      
      
     
/* --- Input Fields --- */

.txtValue1
{
    width: 98%;
    height: 250px;
    margin: 8px auto 8px auto;
    padding: 2px;
    color: var(--clr1);
    border: 2px solid var(--clr1);
    background: #e6ffff;
    font-size: 20px;
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: 'Tajawal' , sans-serif;
    direction: inherit;
    font-weight: bold;
    display: flex;
    text-align: center;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    resize: none;
    border-radius: 4px;
}

.txtValue1:hover {
outline: none;
background: #80ffff;
}



.Tresult
{
    width: 96%;
    height: 50px;
    margin: 8px auto 8px auto;
    padding: 2px;
    color: var(--clr1);
    border: 2px solid var(--clr1);
    background: #e6ffe6;
    font-size: 20px;
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: 'Tajawal' , sans-serif;
    direction: inherit;
    font-weight: bold;
    display: flex;
    text-align: center;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    resize: none;
    border-radius: 4px;
}

.Tresult:hover {
outline: none;
background-color: #99ff99;
}

/* --- Typography & Icons --- */
.faleft {
    transform: rotate(0deg);
    font-style: normal;
    font-size: 18px;
    margin-right: 6px;
}











.qr-lbl_caption2 {
    border-color: #FFFFFF;
    width: 100%;
    height: 35px;
    margin: auto;
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--clr1);
    border-radius: 3px 3px 0px 0px;
    padding-right: 20px;
    padding-left: 20px;
}

/* --- Layout Containers --- */
.qrcounterpage {
    width: 95%;
    height: auto;
    padding: 8px;
    margin: 15px auto 4px auto;
    direction: rtl !important;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid var(--clr1);
    border-radius: 8px;
    box-shadow: rgb(60 64 67 / 30%) 0px 0px 0px 2px, rgb(6 24 44 / 65%) 0px 4px 6px -1px, rgb(255 255 255 / 8%) 0px 1px 0px inset;
}

.multi-container {
    width: 100%;
    height: auto;
    padding: 0px;
    border-radius: 4px;
}

.view-content {
    padding: 0px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 0px 0px 5px 5px;
    font-size: 16px;
    border: 2px solid var(--clr1);
}

/* --- Tabs & Buttons --- */



.btn_Text_creat {
    margin: 14px auto 14px auto;
    width: 98% !important;
    min-width: 300px;
    height: auto;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background: linear-gradient(to bottom, #a066d9, #4F008C);
    font-size: 18px;
    font-weight: 900;
    border: 2px solid var(--clr1);
    font-family: 'Tajawal', sans-serif;
    direction: rtl !important;
    text-decoration: none;
}

  .btn_Text_creat:hover
{
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
    background-color: #CC00CC;
}


.div3btns {
    border: 4px solid var(--clr1);
    width: 100%;
    height: auto;
    padding: 0px;
    margin: 10px auto 10px auto !important;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}


.TText2 {
    width: 98%;
    height: 98%;
    min-height: 20px;
    margin: 8px auto 8px auto;
    padding: 2px;
    color: var(--clr1);
    border: 2px solid var(--clr1);
    background: #FFFFFF;
    font-size: 20px;
    overflow-y: hidden;
    overflow-x: hidden;
    font-family: 'Tajawal', sans-serif;
    direction: inherit;
    font-weight: bold;
    display: flex;
    text-align: center;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    resize: none;
    border-radius: 4px;
}

.TText2:hover {
    outline: none;
    background-color: #FFFFCC;
}

.tddl1 {
    width: 98%;
    height: 40px;
    margin: auto !important;
    padding: 0px;
    color: var(--clr1);
    border: 2px solid var(--clr1);
    background: #FFFFFF;
    font-size: 20px;
    font-family: 'Tajawal', sans-serif;
    direction: inherit;
    font-weight: bold;
    display: flex;
    text-align: center;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    resize: none;
    border-radius: 4px;
}

.tddl1:hover {
    outline: none;
    background-color: #FFFFCC;
}

.tddl2 {
    width: 90%;
    height: 40px;
    margin: auto !important;
    padding: 0px;
    color: var(--clr1);
    border: 2px solid var(--clr1);
    background: #FFFFFF;
    font-size: 20px;
    font-family: 'Tajawal', sans-serif;
    direction: inherit;
    font-weight: bold;
    display: flex;
    text-align: center;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    resize: none;
    border-radius: 4px;
}

.tddl2:hover {
    outline: none;
    background-color: #FFFFCC;
}

/* --- QR Image --- */


/* --- Notification Messages (From VB Code) --- */
.msgbox {
    width: 90%;
    height: auto;
    padding: 8px;
    margin: 33px auto 15px auto;
    top: 42px;
    opacity: 0;
    position: fixed;
    transform: translateX(0);
    z-index: 1000;
    font-size: 13px;
    font-weight: 900;
    font-family: 'Tajawal', sans-serif;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.success {
    background: #66FFCC;
    border: 3px solid #388E3C;
    border-radius: 12px;
    color: var(--clr1);
}

.error {
    border: 3px solid #FF0000;
    background: #FF99CC;
    border-radius: 12px;
    color: var(--clr1);
}

.message-icon {
    font-weight: bold;
    padding: 0 7px;
}

.msgbox.show-effect {
    animation: slideInPulse 3s ease-in-out forwards;
}

@keyframes slideInPulse {
    0% { opacity: 0; left: 100%; }
    15% { opacity: 1; left: 5%; }
    30% { opacity: 0; }
    45% { opacity: 1; }
    75% { opacity: 1; left: 5%; }
    100% { opacity: 0; left: -100%; }
}

/* --- Select2 Library Customization --- */
elect2-container
{
    width: 100% !important;
    max-width: 300px !important;
    margin: 0px auto 40px auto;
    min-width: 150px;
    width: 100% !important;
    padding: 0px;
    font-size: 16px;
    border-radius: 5px;
    font-family: 'Tajawal' , sans-serif;
    font-weight: 900;
    display: flex;
    text-align: right;
    color: #0000FF;
    height: 40px !important;
}

.select2-container--default .select2-selection--single
{
    width: 300px !important;
    max-width: 300px !important;
    height: 50px;
    padding: 3px 3px 3px 12px;
    margin: auto;
    border: 2px solid #3333FF;
    border-radius: 4px;
    color: #4f008c !important;
    font-size: 16px;
    font-weight: 900;
    display: flex;
    align-items: center !important;
    justify-content: center;
    text-align: center;
    place-items: center;
    font-family: 'Tajawal' , sans-serif;
    top: 50px !important;
}


.select2-results__option {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    color: #000080;
    left: 13px;
}

.select2-selection__rendered span.flag-icon {
    margin-right: 30px;
    width: 20px;
    height: 15px;
    display: inline-block;
    font-family: 'Tajawal', sans-serif;
}

.select2-results__option--highlighted {
    background-color: #f0f0f0;
    color: #333;
    min-width: 200px;
    font-family: 'Tajawal', sans-serif;
}

.select2-selection--single:focus {
    border: 6px solid #FF9900;
    box-shadow: 0 0 5px rgba(102, 175, 233, .6);
    font-family: 'Tajawal', sans-serif;
    background-color: #99FF66;
}

.select2-selection__arrow {
    top: 50%;
    left: 13px;
    margin-top: 10px;
    font-size: 22px;
    height: 30px;
}


@media (max-width: 768px) {
.tab-btn
    {
        padding: 7px 4px 4px 4px;
        gap: 4px;
    }
}

@media (max-width: 900px) {
    .select2-container .select2-selection--single {
        min-width: 300px;
        padding: 4px 4px 10px 16px;
        border: 3px solid #3333FF;
        background-color: #00FFFF;
        margin-left: 0;
        margin-right: auto;
        height: 38px !important;
    }
    
    .select2-container .select2-results__option {
        padding: 10px 20px;
    }
    
    .select2-container .select2-selection__rendered span.flag-icon {
        margin-right: 10px;
    }
}