#faq-wrapper #accordion .card .card-header .btn-link, #blog-wrapper .blog-box .blog-info h5 a,
#info-banner .container .title h3, .favorite-templates-panel, #benefits-wrapper .title h6, #prices-wrapper,
#steps-wrapper .steps-box .step-number h6, #steps-wrapper .steps-box .step-title h2, #steps-wrapper .steps-box .step-description p {
	text-align: right;
}

#steps-wrapper .steps-box .step-number-big p {
	right: inherit;
	left: 0 !important;
}

#blog-wrapper .blog-box .blog-info h5 a {
	display: block;
}

i, .fa, .fa-solid, .icon, .header-icon,
div.fa, div.fa-solid,
span.fa, span.fa-solid {
	font-family: 'Font Awesome 5 Free' , 'Font Awesome 6 Pro', 'Font Awesome 6 Brands' !important;
}

.profile-dropdown .dropdown-menu.show {
	left: 0px !important;
}

.rtl .app-content .app-sidebar__toggle a {
	display: inherit;
}
@media (max-width: 768px) {
	.rtl:not(.sidenav-toggled) .ps.app-sidebar {
		display: none;
	}
	.rtl:not(.sidenav-toggled) .app-content {
		margin-right: 0;
	}
}

.pagination{
    direction: ltr;
    place-content: flex-start;
    justify-content: left !important;
}

.awselect .front_face span{
    float: right !important;
    text-align: right;
}

.awselect .front_face .icon{
    float: left !important;
    left: 0;
    right: unset;
}

.profile-dropdown .dropdown-menu.show {
    right: -120px !important;
  }

  .awselect .back_face ul li a {
    text-align: right;
  }

  .rtl .app-content .app-sidebar__toggle a {
    display: flex !important;
  }

  .field span {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 35px !important;
    border-bottom-left-radius: 35px !important;
}

.template-view .template-icon a {
    left: 17px !important;
    right: unset !important;
}

.form-text {
    right: unset;
    left: 1rem;
}

.wizard-nav .wizard-nav-inner .wizard-nav-chevron {
    left: 0;
    right: unset;
}

#main-templates-container {
    left: unset;
    right: 0;
}

#meta-container-editor {
    right: unset;
    left: 0;
}


.chat-sidebar-search .chat-search-icon {
    right: unset;
    left: 1rem;
}

#image-side-space {
    margin-right: unset;
    margin-left: 284px;
}

.image-prompt-wrapper .image-prompt #image-generate {
    border-radius: 0;
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

#voiceover-character-counter {
    left: 2rem;
    right: unset;
}


.chat-main-container .chat-sidebar-container .chat-sidebar-messages .chat-sidebar-message:hover .chat-actions, .chat-main-container .chat-sidebar-container .chat-sidebar-messages .chat-sidebar-message:focus .chat-actions {
    left: 10px;
    right: unset;
}

.chat-main-container .chat-sidebar-container .chat-sidebar-messages .chat-sidebar-message .chat-actions {
    right: unset;
    left: -20px;
}

#image-settings-wrapper {
    right: unset;
    left: 0;
}


.custom-modal .modal .modal-content{
    margin-right: unset;
    float: left;
    margin-left: 305px;
}

.top-footer-description-section{
    background: #fff;
    direction: rtl;
    text-align: right;
    padding-bottom: 2rem;
}

.top-footer-description{
    height: 180px;
    overflow: hidden;
    position: relative;
}

.top-footer-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(0,95,255,0) 100%);
    width: 100%;
    height: 70px;
}

.show-full-description .top-footer-description
{
    height: auto !important;
}

.show-full-description .top-footer-description::after
{
    display: none;
}

.show-full-description .show-more-btn{
    display: none !important;
}

.cursor-pointer{
    cursor: pointer;
}

.template a {
    left: 27px !important;
    right: unset !important;
    float: left !important;
}

.tutorial-icon {
    cursor: pointer;
    margin-left: 8px;
    background-color: #007bff;
    color: white !important;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 12px;
}

.tutorial-icon:hover {
    background-color: #0056b3;
    color: white !important;
}

#createButton {
    position: absolute;
    left: 1rem;
    right: unset;
}

#video-image-counter p {
    left: 2rem;
    right: unset;
    top: 20px;
}

@media (min-width: 992px) {
	#smart-editor-container .smart-article-editor{
        position: relative;
    }
	#smart-editor-container .tox.tox-tinymce{
        position: absolute;
        left: 0;
        top: 0;
    }
}

.btn-warning,
        .btn-danger,
        .btn-success {
    min-width: 100px;
    padding: 7px 15px;
    border-radius: 35px;
    text-transform: uppercase;
    color: #fff !important;
    box-shadow: 0 1px 3px 0 rgba(50, 50, 50, 0.2), 0 2px 1px -1px rgba(50, 50, 50, 0.12), 0 1px 1px 0 rgba(50, 50, 50, 0.14);
    transition: all 0.3s;
        }

.tutorial-icon {
    cursor: pointer;
    margin-left: 8px;
    background-color: #007bff;
    color: white !important;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 12px;
}

.tutorial-icon:hover {
    background-color: #0056b3;
    color: white !important;
}

.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.video-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

/* Single video layout */
.video-grid.single-video {
    grid-template-columns: 1fr;
}

/* Multiple videos layout - always 2 columns */
.video-grid:not(.single-video) {
    grid-template-columns: repeat(2, 1fr);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .video-grid:not(.single-video) {
        grid-template-columns: 1fr;
    }
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Center single video */
.single-video .video-item {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.video-title {
    padding: 10px;
    font-weight: bold;
    text-align: center;
    background: #f5f5f5;
    color: #333;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.close-video {
    position: absolute;
    right: -30px;
    top: -30px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.support-boxes {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.support-box {
    flex: 1;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.support-box:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: white;
}
.support-box i {
    font-size: 24px;
}
.support-box h4 {
    margin: 0;
    color: white;
    font-weight: 600;
}
.whatsapp-box {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}
.telegram-box {
    background: linear-gradient(135deg, #0088cc, #0077B5);
    color: white;
}
