* {
    box-sizing: border-box;
}

body.artwork-request-page {
    margin: 0 !important;
    padding: 0 !important;
    direction: rtl !important;
    background: #fff !important;
    overflow: hidden !important;
    height: 100vh !important;
}

body.artwork-request-page header,
body.artwork-request-page footer,
body.artwork-request-page .site-header,
body.artwork-request-page .site-footer,
body.artwork-request-page nav,
body.artwork-request-page .navigation {
    display: none !important;
}

.fullscreen-wraper {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    transition: all .5s cubic-bezier(.77,0,.175,1) !important;
    background-color: #fff !important;
    z-index: 9999 !important;
}

.p-2 {
    padding: .5rem !important;
}

.h5, h5 {
    font-size: 1.25rem !important;
}

.art-wrapper {
    display: grid !important;
    grid-template-columns: 2fr 1fr !important;
    width: 100% !important;
    height: 100% !important;
}

.art-slider {
    overflow: hidden !important;
}

#art-sliderShow {
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
}

.slide {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
}

.carousel-inner {
    display: flex !important;
    box-sizing: border-box !important;
    width: 90% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    position: relative !important;
    overflow: hidden !important;
}

.f-button {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: content-box !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 40px !important;
    height: 40px !important;
    color: #333 !important;
    background: #F9F9F9 !important;
    pointer-events: all !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.f-button:hover {
    background: #c7c9ce !important;
    transform: scale(1.1) !important;
}

.f-button svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: opacity .15s ease !important;
    pointer-events: none !important;
}

.carousel-item {
    position: relative !important;
    display: none !important;
    float: right !important;
    width: 100% !important;
    margin-left: -100% !important;
    backface-visibility: hidden !important;
    transition: transform .6s ease-in-out !important;
}

.carousel-item.active {
    display: block !important;
}

.carousel-item img {
    pointer-events: none !important;
    height: calc(100vh - 100px) !important;
    object-fit: contain !important;
    margin-top: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.carousel-control-next, .carousel-control-prev {
    width: 60px !important;
    background: transparent !important;
    opacity: 1 !important;
    bottom: 10px !important;
    position: absolute !important;
    top: auto !important;
    border: none !important;
    cursor: pointer !important;
}

.carousel-control-prev {
    right: 5px !important;
    left: auto !important;
}

.carousel-control-next {
    right: 40px !important;
}

.carousel-control-next svg, .carousel-control-prev svg {
    fill: #333 !important;
    width: 22px !important;
    stroke-width: 1 !important;
    stroke: #333 !important;
}

.visually-hidden {
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    position: absolute !important;
}

.art-info {
    height: 100% !important;
    background-color: #f9f9f9 !important;
    color: #333 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow-y: auto !important;
    position: relative !important;
}

#art-title {
    padding: 25px 0 !important;
}

#art-title * {
    font-weight: lighter !important;
}

#art-title h5 {
    font-size: 1.25rem !important;
    margin-top: 0 !important;
    margin-bottom: .5rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #333 !important;
}

hr {
    margin: 1rem 0 !important;
    color: inherit !important;
    border: 0 !important;
    border-top: 1px solid !important;
    opacity: .25 !important;
}

.btn-request {
    min-width: 80px !important;
    background: transparent !important;
    cursor: pointer !important;
    box-sizing: content-box !important;
    border: 1px solid silver !important;
    padding: 0 8px !important;
    transition: all .3s cubic-bezier(.23,1,.32,1) !important;
    line-height: 38px !important;
    color: #333 !important;
    font-size: 1.2rem !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
}

a.btn-request {
    margin-right: 30px !important;
    margin-top: 30px !important;
}

.btn-request:hover {
    color: #FEE130 !important;
    border: 1px solid #FEE130 !important;
}

.text-normal {
    font-size: 1rem !important;
}

.art-request {
    padding: 0 20px !important;
}

#close-form {
    cursor: pointer !important;
    padding: 10px !important;
    margin-bottom: 20px !important;
    color: #666 !important;
}

#close-form svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.form-floating {
    position: relative !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.form-floating .form-control {
    background-color: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    transition: all .5s cubic-bezier(.23,1,.32,1) !important;
    border-bottom: 2px solid #000 !important;
    outline: 0 !important;
    box-shadow: none !important;
    color: #333 !important;
    font-size: 1.4em !important;
    padding: 1rem .75rem !important;
    height: calc(3.5rem + 2px) !important;
    min-height: calc(3.5rem + 2px) !important;
    line-height: 1.25 !important;
    direction: rtl !important;
}

.form-floating .form-control:focus {
    border-bottom-color: #FEE130 !important;
}

.form-floating label {
    background-color: transparent !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 2 !important;
    height: 100% !important;
    padding: 1rem .75rem !important;
    overflow: hidden !important;
    text-align: start !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    border: 1px solid transparent !important;
    transform-origin: 100% 0 !important;
    transition: opacity .1s ease-in-out, transform .1s ease-in-out !important;
}

.text-warning {
    color: #ffc107 !important;
}

textarea {
    resize: none !important;
    width: 100% !important;
    color: #333 !important;
    font-size: 1em !important;
    padding: 5px !important;
    outline: 0 !important;
    border: 2px solid #000 !important;
    background-color: transparent !important;
    transition: all .2s ease-out !important;
    position: relative !important;
    direction: rtl !important;
    margin-bottom: 20px !important;
}

textarea:focus {
    border-color: #007cba !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.btn-check {
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
}

.btn-check:checked + label {
    border: none !important;
    color: #ffc107 !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: none !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.btn {
    display: inline-block !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #333 !important;
    text-align: center !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    user-select: none !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
    padding: .375rem .75rem !important;
    font-size: 1rem !important;
    border-radius: .375rem !important;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
}

.text-medium {
    font-size: 1.1rem !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.ms-0 {
    margin-left: 0 !important;
}

#loading {
    width: 100% !important;
    height: 105% !important;
    position: absolute !important;
    top: -25px !important;
    left: 0 !important;
}

#loading-title {
    position: absolute !important;
    top: 50% !important;
    width: 100% !important;
    margin-top: -18px !important;
    text-align: center !important;
    font-size: 1.5rem !important;
    color: #fff !important;
    z-index: 10 !important;
}

#overlay {
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, .8) !important;
}

#request-result {
    padding: 0 10px !important;
    text-align: center !important;
}

.px-2 {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

#close-result {
    cursor: pointer !important;
    color: #666 !important;
}

#close-result svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

h3 {
    font-size: 1.75rem !important;
    margin-top: 0 !important;
    margin-bottom: .5rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #333 !important;
}

h4 {
    font-size: 1.5rem !important;
    margin-top: 0 !important;
    margin-bottom: .5rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #28a745 !important;
}

p {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    color: #666 !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .art-wrapper {
        grid-template-columns: 1fr !important;
        grid-template-rows: 1fr auto !important;
    }
    
    .art-info {
        height: auto !important;
        max-height: 50vh !important;
    }
    
    .carousel-item img {
        height: calc(50vh - 50px) !important;
        margin-top: 15px !important;
    }
    
    .art-request {
        padding: 0 15px !important;
    }
    
    #art-title {
        padding: 15px 0 !important;
    }
    
    .form-floating .form-control {
        font-size: 1.2em !important;
    }
    
    .carousel-control-next, .carousel-control-prev {
        width: 40px !important;
    }
    
    .carousel-control-prev {
        right: 5px !important;
    }
    
    .carousel-control-next {
        right: 30px !important;
    }
}

@media (max-width: 480px) {
    .art-info {
        max-height: 60vh !important;
    }
    
    .carousel-item img {
        height: calc(40vh - 30px) !important;
    }
    
    .form-floating .form-control {
        font-size: 1.1em !important;
        padding: 0.8rem 0.5rem !important;
    }
    
    .form-floating label {
        padding: 0.8rem 0.5rem !important;
    }
    
    textarea {
        font-size: 0.9em !important;
        padding: 8px !important;
    }
    
    .btn-request {
        font-size: 1rem !important;
        padding: 0 6px !important;
        margin: 15px !important;
    }
    
    #art-title h5 {
        font-size: 1.1rem !important;
        padding: 0 15px !important;
    }
}

@keyframes slideIn {
    from {
        opacity: 0 !important;
        transform: translateX(20px) !important;
    }
    to {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
}

.art-request {
    animation: slideIn 0.3s ease !important;
}

#request-result {
    animation: slideIn 0.3s ease !important;
}

.f-button:focus,
.btn-request:focus,
.carousel-control-next:focus,
.carousel-control-prev:focus,
#close-form:focus,
#close-result:focus {
    outline: 2px solid #007cba !important;
    outline-offset: 2px !important;
}

.form-floating .form-control:focus {
    border-bottom-color: #FEE130 !important;
    box-shadow: 0 2px 0 #FEE130 !important;
}

.btn-request:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

.btn-check:checked + .btn {
    color: #ffc107 !important;
    font-weight: bold !important;
}

* {
    transition: all 0.2s ease !important;
}

.art-info,
.art-request,
#request-result {
    text-align: right !important;
    direction: rtl !important;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    opacity: 0.55 !important;
    transform: scale(0.75) translateY(-1.5rem) translateX(0.2rem) !important;
}

.fullscreen-wraper {
    z-index: 999999 !important;
}

.f-button {
    z-index: 1000000 !important;
}

.carousel-control-prev:focus,
.carousel-control-next:focus,
.carousel-indicators [data-bs-target]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.8 !important;
}

.carousel-indicators [data-bs-target]:hover {
    opacity: 0.8 !important;
}

.carousel-item {
    transition: none !important;
}

.carousel-item.active {
    display: block !important;
}

.carousel-item:not(.active) {
    display: none !important;
}

input::placeholder {
  color: transparent !important;
}

.form-control {
  width: 100% !important;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
}

.carousel-indicators {
    position: absolute !important;
    left: 0 !important;
    bottom: 20px !important;
    right: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 15% !important;
    list-style: none !important;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box !important;
    flex: 0 1 auto !important;
    width: 40px !important;
    height: 2px !important;
    padding: 0 !important;
    margin-right: 3px !important;
    margin-left: 3px !important;
    text-indent: -999px !important;
    cursor: pointer !important;
    background-color: #CDCDCE !important;
    background-clip: padding-box !important;
    border: 0 !important;
    border-top: 10px solid transparent !important;
    border-bottom: 10px solid transparent !important;
    opacity: 1 !important;
    transition: opacity 0.6s ease !important;
    outline: none !important;
}

.carousel-indicators [data-bs-target].active {
    background-color: #FEE130 !important;
}

.carousel-indicators [data-bs-target]:hover {
    background-color: #FEE130 !important;
    opacity: 0.8 !important;
}

.carousel-indicators [data-bs-target]:focus {
    outline: none !important;
    box-shadow: none !important;
}

h6 {
    line-height: 1rem !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

body {
    overflow: hidden !important;
}

@media (max-width: 768px) {
    .art-wrapper {
        grid-template-columns: 1fr !important;
        grid-template-rows: 50vh 50vh !important;
        height: 100vh !important;
        overflow: hidden !important;
    }
    
    .art-slider {
        height: 50vh !important;
        overflow: hidden !important;
    }
    
    #art-sliderShow {
        height: 50vh !important;
        max-height: 50vh !important;
    }
    
    .carousel-item img {
        height: calc(50vh - 80px) !important;
        margin-top: 15px !important;
        object-fit: contain !important;
    }
    
    .art-info {
        height: 50vh !important;
        max-height: 50vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background-color: #f9f9f9 !important;
        color: #333 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        position: relative !important;
    }
    
    .art-request {
        padding: 0 15px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: calc(50vh - 20px) !important;
    }
    
    #art-title {
        padding: 15px 0 !important;
        overflow-y: auto !important;
        max-height: calc(50vh - 20px) !important;
    }
    
    #request-result {
        padding: 0 10px !important;
        text-align: center !important;
        overflow-y: auto !important;
        max-height: calc(50vh - 20px) !important;
    }
    
    .art-info::-webkit-scrollbar,
    .art-request::-webkit-scrollbar,
    #art-title::-webkit-scrollbar,
    #request-result::-webkit-scrollbar {
        width: 4px !important;
    }
    
    .art-info::-webkit-scrollbar-track,
    .art-request::-webkit-scrollbar-track,
    #art-title::-webkit-scrollbar-track,
    #request-result::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 2px !important;
    }
    
    .art-info::-webkit-scrollbar-thumb,
    .art-request::-webkit-scrollbar-thumb,
    #art-title::-webkit-scrollbar-thumb,
    #request-result::-webkit-scrollbar-thumb {
        background: #c1c1c1 !important;
        border-radius: 2px !important;
    }
    
    .art-info::-webkit-scrollbar-thumb:hover,
    .art-request::-webkit-scrollbar-thumb:hover,
    #art-title::-webkit-scrollbar-thumb:hover,
    #request-result::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1 !important;
    }
    
    .form-floating .form-control {
        font-size: 1.2em !important;
        padding: 0.8rem 0.5rem !important;
    }
    
    .form-floating label {
        padding: 0.8rem 0.5rem !important;
    }
    
    textarea {
        font-size: 0.9em !important;
        padding: 8px !important;
        max-height: 80px !important;
        overflow-y: auto !important;
    }
    
    .btn-request {
        font-size: 1rem !important;
        padding: 0 6px !important;
        margin: 15px !important;
    }
    
    #art-title h5 {
        font-size: 1.1rem !important;
        padding: 0 15px !important;
    }
    
    .carousel-control-next, .carousel-control-prev {
        width: 40px !important;
        height: 40px !important;
    }
    
    .carousel-control-prev {
        right: 5px !important;
    }
    
    .carousel-control-next {
        right: 50px !important;
    }
    
    .carousel-indicators {
        bottom: 10px !important;
        margin: 0 10% !important;
    }
}

@media (max-width: 480px) {
    .art-wrapper {
        grid-template-rows: 50vh 50vh !important;
    }
    
    .art-slider {
        height: 50vh !important;
    }
    
    .art-info {
        height: 50vh !important;
        max-height: 50vh !important;
    }
    
    .carousel-item img {
        height: calc(50vh - 60px) !important;
        margin-top: 10px !important;
    }
    
    .form-floating .form-control {
        font-size: 1.1em !important;
        padding: 0.7rem 0.4rem !important;
    }
    
    .form-floating label {
        padding: 0.7rem 0.4rem !important;
    }
    
    textarea {
        font-size: 0.85em !important;
        padding: 6px !important;
        max-height: 70px !important;
    }
    
    .btn-request {
        font-size: 0.9rem !important;
        padding: 0 4px !important;
        margin: 10px !important;
    }
    
    #art-title h5 {
        font-size: 1rem !important;
        padding: 0 10px !important;
    }
    
    .carousel-control-next {
        right: 45px !important;
    }
}
