@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&family=Almarai:wght@300;400;700;800&display=swap');


* {
    box-sizing: border-box;
    font-family: 'Rubik';
}

:lang(ar) {
    font-family: 'Almarai';
}

a:hover {
    color: inherit !important;
     background-color: inherit !important;
}

.main_color {
    color: var(--main-color);
}

.sub_color {
    color: var(--sub-color);
}


body,
html {
    width: 100%;
    min-height: 100vh;
}

.main {
    margin: auto;
    max-width: 500px;
    padding: 20px;
}

.container-fluid {
    padding-inline: 0 !important;
}

a:hover {
    background-color: rgb(222, 219, 219) !important;
}

/* All Buttons */
.svg-icon {
    width: 45px;
    height: 45px;
    display: flex;
    border: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
}

.svg-icon svg {
    fill: var(--main-color);
    width: 28px;
    height: 28px;
}


/* lang */

.language-toggle {
    display: inline-flex;
    border: 1px solid var(--main-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--main-color);
}

.language-toggle a {
    padding: 4px 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    color: white !important;
    background: var(--main-color) !important;
    border: none;
    transition: all 0.25s ease;
}

.language-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--main-color) !important;
}

.language-toggle a:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: var(--main-color) !important;
}

.language-toggle a:active {
    background-color: white !important;
    color: var(--main-color) !important;
    border: none;
}

.language-toggle a.selected {
    background: white !important;
    color: var(--main-color) !important;
    border-radius: 5px;
    border: 1px solid white;
}

/* header */
.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header_icon {
    display: flex;
    flex-direction: row;
    gap: 7px;
}

.header_icon .svg-icon {
    width: 30px;
    height: 30px;
    display: flex;
    border-radius: 6px;
    background-color: var(--main-color);
}

.header_icon .svg-icon svg {
    width: 15px;
    height: 15px;
    fill: white;

}



/* profile image */
.profile-img {
    width: 100%;
}


.profile-img img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.no-arrow::after {
    display: none !important;
}

.name {
    font-size: calc(1.3rem + .6vw);
}


@media (min-width: 1200px) {
    .name {
        font-size: 1.75rem;
    }
}


/* save */

.section-header {
    font-size: 16px;
    font-weight: 600;
}

.all-info {
    padding-inline: 15px;
    max-width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.section-1 {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;

}

.button-section {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.save-section {
    flex: 2;
    background-color: var(--main-color);
    color: white;
    padding: 6px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;

}


.save-section button {
    all: unset;
}

.save-section .svg-icon {
    width: 30px;
    height: 30px;
    background-color: transparent;
}

.save-section .svg-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.save-section span {
    color: white;
    font-size: 17px;
}

.ar .save-section span {
    font-size: 14px;
}


.sms {
    width: 30%;
    height: auto;
    display: flex;
    flex-direction: column;

}

.sms.svg-icon,
.sms.svg-icon:hover {
    background-color: var(--sub-color) !important;
}

.sms.svg-icon svg {
    fill: var(--main-color);
}

.sms .sms-text {
    font-size: 10px;

}

/* social media */
.connect {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
}

.connect .box {
    background-color: var(--sub-color);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    min-width: 100px;
    font-size: 14px;
    width: 30%;
    height: auto;
    gap: 1px;
}

.connect .box:hover {
    background-color: var(--sub-color) !important;
    color: black !important;
}


.connect .box .small-info {
    font-size: 11px;
}

.ar .connect .box .small-info {
    direction: ltr;
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}


.social-media .button {
    flex: 0 0 calc(50% - 10px);
    background-color: var(--sub-color);
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 14px;
}

.social-media .button:hover {
    background-color: var(--sub-color) !important;
    color: black !important;
}


.social-media .button:last-child:nth-child(odd) {
    flex: 0 0 100%;
}

.connect .box .small-info {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-media .button span {
    color: black;
    font-weight: 600;
}

.social-media .svg-icon {
    width: 45px;
    height: 45px;

}

.social-media .svg-icon svg {
    width: 24px;
    height: 24px;
}

/* photos */
.photos-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo {
    margin-top: 40px;
    width: 80%;
    height: auto;
}

.photo .swiper-slide img {
    height: 200px;
    width: 100%;
    object-fit: contain;

}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--main-color);
}

/* logo */
.logo {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    width: 170px;
    height: 90px;
    object-fit: contain;
}


.qrmodal .modal-content {
    background: none !important;
    border: none !important;
}

.modal.fade.show {
    background-color: rgba(0, 0, 0, 0.75);
}

#qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar .dropdown-item {
    direction: ltr;
}