*{
    margin: 0;
    padding: 0;
    /* text-transform: capitalize; */
}
.item{
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    gap: 5px;
}

.styles .item{
    flex-direction: column;
}
.styles .item {
    flex-direction: column;
}
.hash .item{
    flex-direction: row;
    height: fit-content;
    align-items: center;
}
.item textarea{
    height: 70px;
}
.form__submit{
    border: none;
    background: green;
    color: white;
    border-radius: 7px;
    padding: 10px 20px;
    margin: 20px 0;
    cursor: pointer;
}
.form__btn-block{
    justify-content: center;
    display: flex;
}
.container{
    max-width: 1200px;
    margin: auto;
    background: #f3f3f3;
    padding: 15px;
}
.meta{
    text-align: center;
}
input[type="text"]{
    padding: 10px;
}
.content{
    text-align: center;
}
.styles h2{
    text-align: center;
}
.style-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.img-block{
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid lightgray;
    padding-bottom: 5px;
}
#menu-repeater h2{
    text-align: center;
    margin: 15px 0;
}
.menu-faq-btn{
    margin: 10px 0;
}
#menu-form{
    margin: auto;
}
.btn-rm{

}
textarea{
    padding: 10px;
}
.item  span +div{
    display: flex;
    align-items: center;
    gap: 10px;
}
#faq-repeater  .repeater-item{
    display: flex;
    align-items: center;
    gap: 10px;
}
#faq-repeater  .repeater-item input{
    height: 70px;
}
.repeater-item textarea{
    height: 70px;
}
#faq-repeater h2{
    text-align: center;
}
.img-thumb{
    max-width: 70px;
    display: block;
}
#menu-repeater button{
    padding: 10px 20px;
    border: none;
    background: #70acf0;
     color: white;
}
#faq-repeater button{
    padding: 10px 20px;
    border: none;
    background: #70acf0;
     color: white;
}
hr{
    width: 40%;
    text-align: center;
    display: block;
    margin: 20px auto;
}

#listing-repeater h2{
    text-align: center;
    margin: 15px 0;
}
#listing-repeater button[type="submit"]{
    padding: 10px 20px;
    border: none;
    background: #70acf0;
    color: white;
    cursor: pointer;
}
#listing-repeater button[type="button"]{
    padding: 10px 20px;
    border: none;
    background: #70acf0;
    color: white;
    cursor: pointer;
}
.casino-item > div{
    width: 45%;
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    align-items: center;
}
.casino-item input{
    width: 350px;

}
h2.title{
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
}
.form-fields{
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
}
.form-fields div{
    text-align: left;
}
.href-block{
    display: flex;
}

/* Drag & Drop styles for casino items */
.casino-item {
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.casino-item.dragging {
    opacity: 0.5;
}

.casino-item:hover {
    border-color: #999 !important;
}

.drag-handle {
    cursor: grab !important;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing !important;
}

#casinoRepeater {
    position: relative;
}

/* Accordion styles for casino items */
.casino-item-header {
    transition: background-color 0.2s ease;
}

.casino-item-header:hover {
    background-color: #e0e0e0 !important;
}

.casino-item-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
    transition: all 0.3s ease;
}

.casino-item-content > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.casino-item-content > div span {
    font-weight: 500;
    font-size: 14px;
}

.casino-item-content input[type="text"],
.casino-item-content input[type="file"] {
    width: 300px;
    box-sizing: border-box;
}

.casino-item-content button {
    align-self: flex-start;
    margin-top: 5px;
}

.toggle-accordion {
    transition: transform 0.3s ease;
}

.casino-item-title {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tab styles for admin interface */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f5f5f5;
    margin-right: 5px;
    transition: background 0.3s;
}

.tab.active {
    background: #007bff;
    color: white;
}

.tab:hover {
    background: #e0e0e0;
}

.tab.active:hover {
    background: #0056b3;
}

/* Alpine.js cloak to prevent flash of unstyled content */
[x-cloak] { display: none !important; }

.tab-content {
    display: block;
}

/* Image block styles */
.img-block {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.img-block .item {
    flex: 0 0 auto;
}

.img-block > div:last-child {
    flex: 1;
}

.img-block > div:last-child span {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.img-block > div:last-child input {
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
}

.img-thumb {
    max-width: 150px;
    max-height: 100px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    display: block;
}

/* Override existing item styles for better layout */
.item span {
    display: inline-block;
    min-width: 150px;
    font-weight: bold;
    margin-right: 10px;
}

.item input[type="file"] {
    margin-left: 10px;
}

/* Hreflang block styles */
.href-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.href-block .item {
    display: flex;
    flex-direction: column;
}

.href-block .item span {
    margin-bottom: 5px;
    font-weight: bold;
    min-width: auto;
}

.href-block .item input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}