@font-face {
    font-family: "btqfont";
    src: url(fonten/btq.ttf);
}

@font-face {
    font-family: "btqar";
    src: url(fonten/btqar.ttf);
}

body {
    font-family: "btqfont", "btqar", sans-serif;
    background-color: #fdfdfd;
    padding: 10px;
    margin: 0;
    box-sizing: border-box;
}


header {}


.desktop-header .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
    margin: 0px;
    padding: 20px;
}

.desktop-header .img {
    background-image: url('../imges/slide.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 420px;
}


.desktop-header .formTitle {
    font-size: 22px;
    direction: rtl
}

.desktop-header .overlay-text {
    font-size: 18px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    transition: background-color 0.3s;
    float: right;
    position: sticky;
}

.desktop-header .overlay-text:hover {
    background-color: #AC9532;
    color: white;
}

.mobile-header {
    display: none;
}

.ipad-header {
    display: none;
}


.overlay-text {
    content: "AR ";
    position: absolute;
    top: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 20px
}

.container {
    max-width: 70%;
    margin: auto;
}

form {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    margin: 20px auto;
}

.intro {
    padding: 15px;
    border-radius: 5px;
    margin: 20px auto;
    line-height: 2.5;
    max-width: 1200px;
    font-size: 15px;
    background: #fff;
    padding: 20px
}

.title {
    font-size: 20px;
    font-weight: 900;
    line-height: 2;
    color: #000;
    text-decoration: underline;
    text-underline-position: under;
}

.text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #000;
    text-align: justify;
}

.agreement {
    text-align: justify;
}

.form-grp {
    line-height: 2.5;
    width: 100%;
    margin: 0 auto 20px;
    box-sizing: border-box;

}

.form-grp label {
    margin-bottom: .5rem;
    font-size: 16px;
}

.form-grp input,
.form-grp textarea,
.form-grp select {
    width: 100%;
    border: 1px solid #e8e8e8;
    padding: 14px 20px;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #ffffffb8;
    transition: border-color 0.3s ease;
    font-family: "btqfont", "btqar", sans-serif;
    color: #595959;
    margin: 2px;
    font-size: 12px;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: #9b9b9b;
    font-size: 12px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    background-color: #fff;
    border: 1px solid #ac9532;
    outline: none;
}

input:focus-visible::placeholder,
textarea:focus-visible::placeholder {
    color: #9b9b9b;
    font-size: 13px;
}

.form-grp select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../imges/arrow.svg');
    background-repeat: no-repeat;
    background-position: left 1rem center;
    background-size: 16px;
}


.form-grp span {
    font-size: 18px;
    color: red
}


a {
    color: white;
    text-decoration: none;
}

button {
    font-family: "btqar", sans-serif;
    margin: auto§
}

.submit-button {

    width: 60%;
    border: 1px solid #dcdcdc;
    padding: 14px 20px;
    border-radius: 4px;
    background-color: black;
    color: white;
    margin: 20px auto;
}

.submit-button:disabled {
    background-color: gray
}

.btn-danger {
    background-color: red;
    color: white;
    border: 1px solid #ff0101;
    padding: 5px;
    margin: 5px;
    float: inline-end;
}

.btn-warning {
    background-color: #AE9332;
    color: white;
    border: 1px solid #AE9332;
    padding: 5px;
    margin: 5px;
    float: inline-end;
}

.add-btn {
    background-color: #f4f4f4;
    color: #AE9332;
    border: 1px solid #f4f4f4;
    padding: 5px;
    margin: 5px;
    float: inline-end;
}

.content-text {
    font-size: 14px;
    color: #595959;
    margin-right: 8px;
    font-weight: 500;
}

.delete-btn {
    color: red;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.delete-btn:hover {
    color: darkred;
    transform: scale(1.2);
}


.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.close {
    cursor: pointer;
    float: right;
    font-size: 20px;
}

.error-message {
    color: red;
}

.suggestions {
    border: 1px solid #ffffff;
    max-width: 100%;
    height: auto;
    margin: 5px;
}

.suggestion-item {
    padding: 5px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.selected-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-content div {
    background-color: #f0f0f033;
    padding: 1px 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 12px;
    margin: 1px
}

.selected-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-item {
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}


#typeContentSelect {
    max-height: 100px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
}

.option {
    cursor: pointer;
    padding: 1px;
    font-size: 14px
}

.option:hover {
    background-color: #f0f0f0;
}

#typeContentSelect::-webkit-scrollbar {
    width: 8px;
}

#typeContentSelect::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 1px;
}

#typeContentSelect::-webkit-scrollbar-thumb {
    background: #ac953226;
    border-radius: 1px;

}

#typeContentSelect::-webkit-scrollbar-thumb:hover {
    background: #ac953226;
}

.social-media-row {
    display: flex;
    align-items: center;
    /* محاذاة العناصر عموديًا */
    margin-bottom: 10px;
    /* مسافة بين الصفوف */
}

.social-media-row .col-8 {
    flex: 1;
    /* جعل العمود الأول يأخذ المساحة المتبقية */
}

.social-media-row .col-2 {
    display: flex;
    justify-content: flex-end;
    /* وضع العناصر في النهاية */
}

#addSocialMediaButton {
    margin-top: 10px;
    /* إضافة مسافة فوق الزر */
    display: flex;
    align-items: center;
    /* محاذاة الأيقونة والنص */
}

#addSocialMediaButton i {
    margin-right: 5px;
    /* مسافة بين الأيقونة والنص */
}


/* ----------- iPhone 4 and 4S ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: #fff;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
        background-image: url('../imges/backg.svg');
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        font-size: 11px;
    }

    header {
        background-image: none;
        background-size: none;
        background-repeat: none;
        background-position: center;
        width: 100%;
        height: 30px;
        position: relative;
        background: #fff;

    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        position: relative;
        background-color: white;
    }


    .mobile-header h1 {
        color: black;
        font-size: 12px;
        margin: 0;
        text-align: center;
        flex: 1;
    }

    .mobile-header .overlay-lang {
        width: 20px;
        height: 20px;
        background-image: url('../imges/lan.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: 90%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .mobile-header .back-arrow {
        width: 20px;
        height: 20px;
        background-image: url('../imges/backl.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .intro {
        padding: 15px;
        border-radius: 5px;
        margin: 20px auto;
        line-height: 2.5;
        max-width: 1200px;
        font-size: 12px;
        background: #ffffff29;
        padding: 20px
    }

    form {
        background: #ffffff29;
        padding: 20px;
        border-radius: 5px;
        margin: 5px auto;
    }

    .container {
        max-width: 95%;
        height: 88vh;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 10px;
        overflow-y: auto;
    }

    .formTitle {
        font-size: 14px;
        margin: auto;
        color: #000;

    }


    .title {
        content: '';
        font-size: 12px;
        font-weight: 900;
    }


    .form-grp {
        line-height: 1;
        width: 100%;
        margin: 0 auto 10px;
        box-sizing: border-box;

    }

    .form-grp label {
        margin-bottom: .5rem;
        font-size: 12px;
        line-height: 1.5;
    }

    .form-grp input,
    .form-grp textarea,
    .form-grp select {
        width: 100%;
        border: 1px solid #e8e8e8;
        padding: 8px 20px;
        border-radius: 4px;
        box-sizing: border-box;
        background-color: #ffffffb8;
        transition: border-color 0.3s ease;
        font-family: "btqfont", "btqar", sans-serif;
        color: #595959;
        margin: 1px;
    }

    input::placeholder,
    textarea::placeholder,
    select::placeholder {
        color: #9b9b9b;
        font-size: 9px;

    }

    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        background-color: #fff;
        border: 1px solid #ac9532;
        outline: none;
    }

    input:focus-visible::placeholder,
    textarea:focus-visible::placeholder {
        color: #9b9b9b;
        font-size: 9px;
    }

    .form-grp select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;

        background-image: url('../imges/arrow.svg');
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 9px;
    }


    .form-grp span {
        font-size: 8px;
        color: red
    }



    .text {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .agreement {
        font-size: 10px;
        font-weight: 200;
        line-height: 1;
        text-align: justify;
    }


    .submit-button {
        position: fixed;
        bottom: 4%;
        transform: translateX(-50%);
        width: 70%;
        border: 1px solid #ffff;
        padding: 10px 20px;
        border-radius: 4px;
        background-color: black;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 14px;
        margin: auto;
    }

    .submit-button:disabled {
        background-color: gray;
    }

    .btn-danger {
        background-color: red;
        color: white;
        border: 1px solid #ff0101;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .btn-warning {
        background-color: #AE9332;
        color: white;
        border: 1px solid #AE9332;
        padding: 5px;
        margin: 5px;
    }

    .add-btn {
        background-color: #f4f4f4;
        color: #AE9332;
        border: 1px solid #f4f4f4;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .content-text {
        font-size: 8px;
        color: #595959;
        margin-right: 8px;
        font-weight: 500;
    }

    .delete-btn {
        color: red;
        font-size: 18px;
        cursor: pointer;
        font-weight: bold;
    }

    .delete-btn:hover {
        color: darkred;
        transform: scale(1.2);
    }

    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #fff;
        border-radius: 10px;
        border: 3px solid transparent;
        background-clip: padding-box;
        font-size: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #fff;
    }

    ::-webkit-scrollbar-track {
        background-color: #fff;
        border-radius: 10px;
    }

    ::-webkit-scrollbar-track:hover {
        background-color: #fff;
    }


}



/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: #fff;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
        background-image: url('../imges/backg.svg');
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        font-size: 12px;
    }

    header {
        background-image: none;
        background-size: none;
        background-repeat: none;
        background-position: center;
        width: 100%;
        height: 30px;
        position: relative;
        background: #fff;

    }

    .desktop-header {
        display: none;
    }


    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        position: relative;
        background-color: white;
    }


    .mobile-header h1 {
        color: black;
        font-size: 12px;
        margin: 0;
        text-align: center;
        flex: 1;
    }

    .mobile-header .overlay-lang {
        width: 20px;
        height: 20px;
        background-image: url('../imges/lan.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: 90%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .mobile-header .back-arrow {
        width: 20px;
        height: 20px;
        background-image: url('../imges/backl.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .intro {
        padding: 15px;
        border-radius: 5px;
        margin: 20px auto;
        line-height: 2.5;
        max-width: 1200px;
        font-size: 12px;
        background: #ffffff29;
        padding: 20px
    }

    form {
        background: #ffffff29;
        padding: 20px;
        border-radius: 5px;
        margin: 5px auto;
    }

    .container {
        max-width: 95%;
        height: 88vh;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 10px;
        overflow-y: auto;
    }

    .formTitle {
        font-size: 14px;
        margin: auto;
        color: #000;

    }


    .title {
        content: '';
        font-size: 12px;
        font-weight: 900;
    }


    .form-grp {
        line-height: 1;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .form-grp label {
        margin-bottom: .5rem;
        font-size: 12px;
        line-height: 3.5;
    }

    .form-grp input,
    .form-grp textarea,
    .form-grp select {
        width: 100%;
        border: 1px solid #e8e8e8;
        padding: 8px 20px;
        border-radius: 4px;
        box-sizing: border-box;
        background-color: #ffffffb8;
        transition: border-color 0.3s ease;
        font-family: "btqfont", "btqar", sans-serif;
        color: #595959;
        margin: 1px;
        font-size: 12px;
    }

    input::placeholder,
    textarea::placeholder,
    select::placeholder {
        color: #9b9b9b;
        font-size: 9px;

    }

    input:focus-visible,
    textarea:focus-visible,
    select:focus-visible {
        background-color: #fff;
        border: 1px solid #ac9532;
        outline: none;
    }

    input:focus-visible::placeholder,
    textarea:focus-visible::placeholder {
        color: #9b9b9b;
        font-size: 9px;
    }

    .form-grp select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url('../imges/arrow.svg');
        background-repeat: no-repeat;
        background-position: left 1rem center;
        background-size: 9px;
        font-size: 9px;
    }


    .form-grp span {
        font-size: 8px;
        color: red
    }

    small {
        font-size: 10px;
    }

    .text {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .agreement {
        font-size: 10px;
        font-weight: 200;
        line-height: 1;
    }

    .option {
        cursor: pointer;
        padding: 1px;
        font-size: 10px;
        line-height: 14px;
        color: #595959;
    }

    .dynamic-content {
        font-size: 12px;
        line-height: 30px;
    }


    .submit-button {
        position: fixed;
        bottom: 4%;
        transform: translateX(-50%);
        width: 70%;
        border: 1px solid #ffff;
        padding: 10px 20px;
        border-radius: 4px;
        background-color: black;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 14px;
        margin: auto;
    }

    .submit-button:disabled {
        background-color: gray;
    }

    .btn-danger {
        background-color: red;
        color: white;
        border: 1px solid #ff0101;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .btn-warning {
        background-color: #AE9332;
        color: white;
        border: 1px solid #AE9332;
        padding: 5px;
        margin: 5px;
    }

    .add-btn {
        background-color: #f4f4f4;
        color: #AE9332;
        border: 1px solid #f4f4f4;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .content-text {
        font-size: 8px;
        color: #595959;
        margin-right: 8px;
        font-weight: 500;
    }

    .delete-btn {
        color: red;
        font-size: 18px;
        cursor: pointer;
        font-weight: bold;
    }

    .delete-btn:hover {
        color: darkred;
        transform: scale(1.2);
    }

    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #fff;
        border-radius: 10px;
        border: 3px solid transparent;
        background-clip: padding-box;
        font-size: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #fff;
    }

    ::-webkit-scrollbar-track {
        background-color: #fff;
        border-radius: 10px;
        font-size: 10px;
    }

    ::-webkit-scrollbar-track:hover {
        background-color: #fff;
    }

}



/* ----------- iPhone 6+, 7+ and 8+ ----------- */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: bisque;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
        font-size: 11px;
    }

}


/* ----------- iPhone X ----------- */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: #fff;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
        background-image: url('../imges/backg.svg');
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
        font-size: 11px;
    }

    header {
        background-image: none;
        background-size: none;
        background-repeat: none;
        background-position: center;
        width: 100%;
        height: 30px;
        position: relative;
        background: #fff;

    }

    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        position: relative;
        background-color: white;
    }

    .mobile-header h1 {
        color: black;
        font-size: 14px;
        margin: 0;
        text-align: center;
        flex: 1;
        display: block;
    }

    .mobile-header .overlay-lang {
        width: 20px;
        height: 20px;
        background-image: url('../imges/lan.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: 90%;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }

    .mobile-header .back-arrow {
        width: 20px;
        height: 20px;
        background-image: url('../imges/backl.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }


    .intro {
        padding: 15px;
        border-radius: 5px;
        margin: 20px auto;
        line-height: 2.5;
        max-width: 1200px;
        font-size: 12px;
        background: #ffffff29;
        padding: 20px
    }

    form {
        background: #ffffff29;
        padding: 20px;
        border-radius: 5px;
        margin: 5px auto;
    }

    .container {
        max-width: 90%;
        height: 84vh;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 0px;
        overflow-y: auto;
    }

    .formTitle {
        font-size: 14px;
        margin: auto;
        color: #000;

    }

    .title {
        content: '';
        font-size: 14px;
        font-weight: 900;
        line-height: 1;
    }

    .form-grp label {
        margin-bottom: .5rem;
        font-size: 14px
    }


    .text {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .agreement {
        font-size: 10px;
        font-weight: 200;
        line-height: 1;
    }



    .submit-button {
        position: fixed;
        bottom: 4%;
        transform: translateX(0%);
        width: 70%;
        border: 1px solid #ffff;
        padding: 10px 20px;
        border-radius: 4px;
        background-color: black;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 14px;
        margin: auto;
    }

    .submit-button:disabled {
        background-color: gray;
    }

    .btn-danger {
        background-color: red;
        color: white;
        border: 1px solid #ff0101;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .btn-warning {
        background-color: #AE9332;
        color: white;
        border: 1px solid #AE9332;
        padding: 5px;
        margin: 5px;
    }

    .add-btn {
        background-color: #f4f4f4;
        color: #AE9332;
        border: 1px solid #f4f4f4;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .content-text {
        font-size: 8px;
        color: #595959;
        margin-right: 8px;
        font-weight: 500;
    }

    .delete-btn {
        color: red;
        font-size: 18px;
        cursor: pointer;
        font-weight: bold;
    }

    .delete-btn:hover {
        color: darkred;
        transform: scale(1.2);
    }


    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #fff;
        border-radius: 10px;
        border: 3px solid transparent;
        background-clip: padding-box;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #fff;
    }

    ::-webkit-scrollbar-track {
        background-color: #fff;
        border-radius: 10px;
        font-size: 10px;
    }

    ::-webkit-scrollbar-track:hover {
        background-color: #fff;
    }


    .selected-content div {
        background-color: #fff;
        padding: 1px 2px;
        border-radius: 5px;
        display: inline-block;
        font-size: 10px;
        margin: 4px
    }

    .selected-content {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .selected-item {
        background-color: #f0f0f0;
        padding: 5px 10px;
        border-radius: 5px;
        display: inline-block;
    }


    #typeContentSelect {
        max-height: 100px;
        overflow-y: auto;
        border: 1px solid #cccccc00;
        padding: 10px;
    }

    .option {
        cursor: pointer;
        padding: 3px;
        font-size: 10px
    }

    .option:hover {
        background-color: #f0f0f0;
    }

    small {
        font-size: 9px
    }

    #typeContentSelect::-webkit-scrollbar {
        width: 8px;
    }

    #typeContentSelect::-webkit-scrollbar-track {
        background: #fff;
        border-radius: 1px;
    }

    #typeContentSelect::-webkit-scrollbar-thumb {
        background: #ac953226;
        border-radius: 1px;

    }

    #typeContentSelect::-webkit-scrollbar-thumb:hover {
        background: #ac953226;
    }



}

/* ----------- iPad 1, 2, Mini and Air ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1),
only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: #fff;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
        background-image: url('../imges/ipadbackg.svg');
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }


    header {
        background-image: none;
        background-size: none;
        background-repeat: none;
        background-position: center;
        width: 100%;
        height: 60px;
        position: relative;
        background: #fff;

    }


    .ipad-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
        position: relative;
    }

    .ipad-header h1 {
        color: black;
        font-size: 24px;
        margin: 0;
        text-align: center;
        flex: 1;
    }

    .ipad-header .overlay-text {
        width: 30px;
        height: 30px;
        background-image: url('../imges/back.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }



    .container {
        max-width: 95%;
        height: 84vh;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 0px;
        overflow-y: auto;
    }

    .formTitle {
        font-size: 14px;
        margin: auto;
    }

    .title {
        content: '';
        font-size: 16px;
        font-weight: 900;
        line-height: 1;
    }

    .form-grp label {
        margin-bottom: .5rem;
        font-size: 16px
    }


    .text {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
    }

    .agreement {
        font-size: 14px;
        font-weight: 200;
        line-height: 1;
    }


    button {
        position: fixed;
        bottom: 40px;
        transform: translateX(-50%);
        width: 80%;
        border: 1px solid #ffff;
        padding: 14px 20px;
        border-radius: 4px;
        background-color: black;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 21px;
        text-align: center
    }

    button:disabled {
        background-color: gray;
    }

    .btn-danger {
        background-color: red;
        color: white;
        border: 1px solid #ff0101;
        padding: 5px;
        margin: 5px;
        float: inline-end;

    }

    .btn-warning {
        background-color: #AE9332;
        color: white;
        border: 1px solid #AE9332;
        padding: 5px;
        margin: 5px;
        float: inline-end;

    }

    .add-btn {
        background-color: #f4f4f4;
        color: #AE9332;
        border: 1px solid #f4f4f4;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .content-text {
        font-size: 8px;
        color: #595959;
        margin-right: 8px;
        font-weight: 500;
    }

    .delete-btn {
        color: red;
        font-size: 18px;
        cursor: pointer;
        font-weight: bold;
    }

    .delete-btn:hover {
        color: darkred;
        transform: scale(1.2);
    }


    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #ffffff00;
        border-radius: 10px;
        border: 3px solid transparent;
        background-clip: padding-box;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #ffffff00;
    }

    ::-webkit-scrollbar-track {
        background-color: #ffffff00;
        border-radius: 10px;
    }

    ::-webkit-scrollbar-track:hover {
        background-color: #ffffff00;
    }
}



/* ----------- iPad Pro 12.9" ----------- */
@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: #fff;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
        background-image: url('../imges/ipadbackg.svg');
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: fixed;
    }


    header {
        background-image: none;
        background-size: none;
        background-repeat: none;
        background-position: center;
        width: 100%;
        height: 30px;
        position: relative;
        background: #fff;

    }

    .desktop-header {
        display: none;
    }

    .desktop-header h1 {
        display: block;
    }

    .mobile-header {
        display: block;
    }

    .mobile-header h1 {
        display: block;
    }

    .ipad-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
    }

    .ipad-header h1 {
        color: black;
        font-size: 24px;
        margin: 0 auto;
        text-align: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);

    }

    .ipad-header .overlay-text {
        width: 30px;
        height: 30px;
        background-image: url('../imges/back.svg');
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1000;
    }


    .container {
        max-width: 95%;
        height: 85vh;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 0px;
        overflow-y: auto;
    }

    .formTitle {
        font-size: 14px;
        margin: auto;
    }

    .title {
        content: '';
        font-size: 26px;
        font-weight: 900;
        line-height: 1;
    }

    .form-grp label {
        margin-bottom: .5rem;
        font-size: 20px;
    }


    .text {
        font-size: 21px;
        font-weight: 400;
        line-height: 1.5;
    }

    input::placeholder,
    textarea::placeholder,
    select::placeholder {
        color: #9b9b9b;
        font-size: 16px;
    }

    .agreement {
        font-size: 18px;
        font-weight: 200;
        line-height: 1;
    }

    .option {
        cursor: pointer;
        padding: 1px;
        font-size: 14px
    }

    .option:hover {
        background-color: #f0f0f0;
    }

    button {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: ٨0%;
        border: 1px solid #ffff;
        padding: 14px 20px;
        border-radius: 4px;
        background-color: black;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 24px;
    }

    button:disabled {
        background-color: gray;
    }

    .btn-danger {
        background-color: red;
        color: white;
        border: 1px solid #ff0101;
        padding: 5px;
        margin: 5px;
        float: inline-end;

    }

    .btn-warning {
        background-color: #AE9332;
        color: white;
        border: 1px solid #AE9332;
        padding: 5px;
        margin: 5px;
        float: inline-end;

    }

    .add-btn {
        background-color: #f4f4f4;
        color: #AE9332;
        border: 1px solid #f4f4f4;
        padding: 5px;
        margin: 5px;
        float: inline-end;
    }

    .content-text {
        font-size: 8px;
        color: #595959;
        margin-right: 8px;
        font-weight: 500;
    }

    .delete-btn {
        color: red;
        font-size: 18px;
        cursor: pointer;
        font-weight: bold;
    }

    .delete-btn:hover {
        color: darkred;
        transform: scale(1.2);
    }


    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #ffffff00;
        border-radius: 10px;
        border: 3px solid transparent;
        background-clip: padding-box;
    }

    ::-webkit-scrollbar-thumb:hover {
        background-color: #ffffff00;
    }

    ::-webkit-scrollbar-track {
        background-color: #ffffff00;
        border-radius: 10px;
    }

    ::-webkit-scrollbar-track:hover {
        background-color: #ffffff00;
    }
}


}



/* ----------- Non-Retina Screens ----------- */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: seagreen;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
    }

}

/* ----------- Retina Screens ----------- */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {
    body {
        font-family: "btqfont", "btqar", sans-serif;
        background-color: azure;
        padding: 10px;
        margin: 0;
        box-sizing: border-box;
    }

}
