.custom-display {
    font-size: 2rem; /* معادل display-2 تقریبی */
    line-height: 1.2;
    font-weight: 750 !important;
}


@media (min-width: 768px) {
    .custom-display {
        font-size: 2.5rem; /* معادل display-4 */
        font-weight: 750 !important;
    }
}

.custom-display-1 {
    font-size: 1.5rem; /* معادل display-2 تقریبی */
    line-height: 1.2;
    font-weight: 750 !important;
}


@media (min-width: 768px) {
    .custom-display-1 {
        font-size: 2rem; /* معادل display-4 */
        font-weight: 750 !important;
    }
}

.text-color-blue{
    color: #4c2e83;
}

/* زیرخط سفارشی برای عنوان */
.custom-underline {
    position: relative;
    display: inline-block;
}

.custom-underline::after {
    content: "";
    background-image: url("../media/svg/vector-7.svg");
    background-size: 100% 100%; /* پر کردن کامل فضای موجود */
    width: 100%;
    height: 25px; /* ارتفاع زیرخط */
    position: absolute;
    bottom: -22px; /* فاصله از متن */
    left: -30px;
    z-index: 1;
}

.layout-builder {
    position: fixed;
    width: 400px;
    background: white;
    z-index: 1000;
    left: -400px;
    top: 0;
    bottom: 0;
    box-shadow: -8px 0 10px 3px rgba(0, 0, 0, 0.50);
    overflow: auto;
    transition: left .2s;
}

.layout-builder.show {
    left: 0;
}

.layout-builder .layout-builder-toggle.shw i {
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    100% {
	  -webkit-transform: rotate(-360deg);
    }
}

@-moz-keyframes spin {
    100% {
	  -moz-transform: rotate(-360deg);
    }
}

@keyframes spin {
    100% {
	  transform: rotate(-360deg);
    }
}

.layout-builder .layout-builder-toggle.hdn {
    display: none;
}

.layout-builder.show .layout-builder-toggle.hdn {
    display: flex;
}

.layout-builder .layout-builder-toggle {
    cursor: pointer;
    width: 50px;
    height: 50px;
    color: white;
    background: black;
    position: fixed;
    top: 50%;
    margin-right: -50px;
    display: flex;
    font-size: 23px;
    justify-content: center;
    align-items: center;
    margin-top: -25px;
}

.layout-builder .layout-builder-body {
    padding: 30px;
}

.layout-builder .layout-builder-body .custom-control {
	margin-bottom: 6px;
}

.layout-builder .layout-builder-body .custom-control input[type="checkbox"]:checked + label {
    color: black;
}

.layout-builder .layout-colors {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
}

.layout-builder .layout-colors .layout-color-item {
    width: 40px;
    height: 40px;
    background: red;
    margin: 10px;
    border-radius: 3px;
    overflow: hidden;
    border: 5px solid transparent;
    cursor: pointer;
}

.layout-builder .layout-colors .layout-color-item.active {
    box-shadow: 0px 0px 0px 1px black
}

.layout-builder .layout-colors .layout-color-item span {
    display: block;
    height: 45%;
}

.layout-builder .layout-colors .layout-color-item span:first-child {
    background: black;
    transform: rotate(-15deg);
    width: 110%;
    height: 70%;
    margin-top: -5px;
}

.layout-alert {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 10px;
	line-height: 1.9;
}

body.dark .layout-builder {
	background: #2c2f42;
}

body.dark .layout-builder .layout-builder-body .custom-control input[type="checkbox"]:checked + label {
	color: inherit;
}

body.dark .layout-alert {
	border-color: #54576a;
}

.table td, .table th {
    padding: .55rem !important;
    vertical-align: middle !important;
}
@media (max-width: 991px) {
	.layout-builder .layout-builder-toggle {
	  display: none;
    }
}

@media (max-width: 575px) {
    .layout-builder {
	  display: none;
    }
	a[data-attr="layout-builder-toggle"] {
		display: none !important;
	}
}

/*لیبل کوچک بالای فیلد*/
 .float-label-control {
     position: relative;
     margin-bottom: 1.5rem;
 }

.float-label-control .placeholder-float {
    position: absolute;
    top: 0;
    right: 9px;
    font-size: 14px;
    opacity: 1;
    color: #6c757d;
    transition: all 0.2s ease;
    transform-origin: right top;
    transform: translateY(-50%) scale(0.85);
    background: white;
    padding: 0 5px;
    margin-right: 10px;
    z-index: 1;
}

.float-label-control .form-control::placeholder {
    opacity: 0;
    transition: all 0.2s;
}

.float-label-control .form-control:placeholder-shown:not(:focus) + .placeholder-float {
    opacity: 0;
    transform: translateY(50%) scale(1);
}

.float-label-control .form-control:focus::placeholder {
    opacity: 0;
}
