/*
 Theme Name:   xXtra Butta
 Theme URI:    https://www.xxtrabutta.com
 Description:  The Center of the Movies and Series Multiverse
 Author:       xXtra Butta
 Author URI:   https://www.xxtrabutta.com
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

input,
select,
textarea {
  font-size: 16px !important;
}

h2 {
    font-size: 24px;
}

.d-none {
  display: none;
}

.fa-solid, .fas, .fa, .fa-classic, .fa-regular, .far {
  font-family: "Font Awesome 6 Pro"!important;
  font-weight: 900;
}

.jet-data-store-link.jet-remove-from-store.in-store i {
  color: #d30000;
}

.mab-video-thumb {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media only screen and (max-width: 936px) {
    .bricks-shape-divider .bricks-shape-divider-inner {
        height: 100px!important;
    }
    .single-movies .bricks-shape-divider .bricks-shape-divider-inner {
        bottom: -99px!important;
    }
}

@media only screen and (max-width: 600px) {
    .bricks-shape-divider .bricks-shape-divider-inner {
        height: 40px!important;
    }
    .single-movies .bricks-shape-divider .bricks-shape-divider-inner,
    .single-series .bricks-shape-divider .bricks-shape-divider-inner,
    .single-people .bricks-shape-divider .bricks-shape-divider-inner {
        bottom: -39px!important;
    }
}

/* Collections */
#collection-form {
    font-family: 'Mont';
}
#collection-form h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
#collection-response {
    padding: 5px 10px;
    margin: 10px 0;
    background: #94DB99;
    border-radius: 10px;
    color: #000000;
    text-align: center;
}
.add-existing-collection {
    background: #e9e9e9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.add-existing-collection .form-group.form-checkbox
 {
    display: flex;
    justify-content: start;
    gap: 10px;
    align-items: center;
}
.add-new-collection .form-group {
    margin-bottom: 15px;
}
.add-new-collection label {
    color: #000000;
    font-family: "Mont";
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    font-style: normal;
    font-size: 14px;
}
.add-new-collection input[type="text"], .add-new-collection textarea, .add-new-collection select {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 5px;
}
.add-new-collection input[type="file"] {
    border: none;
    line-height: 24px;
    padding: 0;
}
.add-new-collection button {
    background: #d30000;
    padding: 12px 36px;
    font-family: 'Womby';
    color: #ffffff;
    border-radius: 100px;
}

.add-new-collection  .form-group.add-button {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  align-items: center;
}

.checkbox.xxb-style {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  line-height: 1.4;
  color: #000;
  margin-bottom: 10px;
}

.checkbox.xxb-style input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox.xxb-style .checkbox__checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 11px;
  transition: background-color 0.25s ease;
}

.checkbox.xxb-style .checkbox__checkmark:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #333;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Checked state */
.checkbox.xxb-style input:checked ~ .checkbox__checkmark {
  background-color: #fcc000;
  border-color: #fcc000;
}

.checkbox.xxb-style input:checked ~ .checkbox__checkmark:after {
  opacity: 1;
}

/* Hover effect */
.checkbox.xxb-style:hover input ~ .checkbox__checkmark {
  background-color: #ffffff;
}

.checkbox.xxb-style:hover input:checked ~ .checkbox__checkmark {
  background-color: #fcc000;
}

.checkbox.xxb-style .checkbox__body {
  transition: color 0.25s ease;
}

/* Manage Collection */
.collections-grid h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-family: 'Mont';
    color: #000000;
}
.collection-card {
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 10px;
  width: 100%;
}
.collection-card img {
  max-width: 100px;
  height: auto;
}
.collection-card .collection-info {
  display: flex;
  flex-direction: column;
  color: #000000;
  width: 100%;
  font-family: 'Mont';
}
.collection-card .collection-title {
  font-size: 16px
}
.collection-card .collection-meta {
    display: flex;
    justify-content: space-between;
}
.collection-card .collection-meta-left {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
}
.collection-card .collection-items {
  white-space: nowrap;
}
.collection-card .collection-visibility {
  text-transform: uppercase;
  background: #e9e9e9;
  padding: 0px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
}
.collection-card .collection-meta-right {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  align-items: center;
}
.collection-card .edit-collection-btn {
  font-size: 18px;
  color: #000000;
  background: none;
  outline: 0!important;
}
.collection-card .delete-collection-btn {
  font-size: 24px;
  color: #d30000;
  background: none;
  outline: 0!important;
}

/* Edit Collections */
#editModal {
    font-family: 'Mont';
    position: fixed; 
    top: 50%; 
    left:50%; 
    transform: translateX(-50%) translateY(-50%); 
    background:#fff; 
    padding:20px; 
    z-index:9999; 
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
}
#editModal h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

#editModal .form-group {
    margin-bottom: 15px;
}
#editModal label {
    color: #000000;
    font-family: "Mont";
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    font-style: normal;
    font-size: 14px;
}
#editModal input[type="text"], #editModal textarea, #editModal select {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 5px;
}
#editModal input[type="file"] {
    border: none;
    line-height: 24px;
    padding: 0;
}
#editModal .edit-buttons {
    margin-bottom: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
}
#editModal .edit-buttons button {
    background: #d30000;
    padding: 12px 36px;
    font-family: 'Womby';
    color: #ffffff;
    border-radius: 100px;
}
#editModal .edit-buttons button#closeEditModal {
    background: #000000;
}

/* Edit Collection Single */
#editCollection {
  font-family: 'Mont';
}
#editCollection h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
#editCollection .allPosts {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
}
li.collection-item {
    margin:10px 0; 
    padding:10px;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 5px;
    cursor:move;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
#editCollection .collection-title {
    font-weight: 700;
    display: flex;
    justify-content: start;
    align-items: center;
    line-height: 1;
}
li.collection-item i {
    margin-right: 10px;
}
#editCollection .remove-post {
  font-size: 18px;
  color: #000000;
  background: none;
  outline: 0!important;
}
#editCollection  .form-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  align-items: center;
}
#editCollection #save-order {
  background: #d30000;
  padding: 12px 36px;
  font-family: 'Womby';
  color: #ffffff;
  border-radius: 100px;
  outline: 0!important;
}
