.movie-section {
    background: linear-gradient(90deg, #29282f 0%, #312c32 100%);
    /*padding: 150px 0 70px 0; */
    position: relative;
}

.movie-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff55a5 0%, #ff5860 100%);
}

.reviews-rating-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1rem;
}

.reviews-rating-title svg {
    width: 16px;
    height: auto;
    margin-right: 5px;
    fill: #ff55a5;
    transition: fill 0.5s ease;
    vertical-align: middle;
}

.movie-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.movie-img {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem; 
}

.movie-meta {
    margin-bottom: 1rem;
}


.movie-preview {
    position: relative;
}

.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

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

.checkmark-list {
    list-style-type: none;
    padding-left: 0;
}
  
.checkmark-list li::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 24 24"><path fill="%23ffffff" d="M21 6.285l-11.16 12.733-6.84-6.018 1.319-1.49 5.341 4.686 9.865-11.196 1.475 1.285z"/></svg>');
    margin-right: 8px;
}

.tags {
    margin-top: 1rem;
}
.tags p {
    font-weight: 600;
    margin-bottom: 0;
}

.tags a {
    color: #fff;
    background: linear-gradient(90deg, #ff55a5 0%, #ff5860 100%);
    box-shadow: 0 0 10px 0 rgba(255,88,96,0.5);
    margin-right: 1rem;
    font-size: .7rem;
    padding: 4px 7px;
    border-radius: 15px;
}

.tags a:hover {
    background: linear-gradient(90deg, #dd498e 0%, #d1474e 100%);
    box-shadow: none;
}

.wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.widget-container {
    background-color: #28282d;
    border: 1px solid rgba(255,255,255,0.05);
    border-top: none;
    padding: 15px 10px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

.widget-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    display: block;
    background: linear-gradient(90deg, #ff55a5 0%, #ff5860 100%);
    box-shadow: 0 0 20px 0 rgba(255,88,96,0.5);
}

.ad-widget {
    display: flex;
    justify-content: center;
}

.latest-items {
    border-bottom: 1px solid #cccccc45;
    padding-top: 10px;
}
.latest-items p.title {
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 15px;
}

.latest-items p.item-date {
    font-size: .71rem;
    font-style: italic;
    color: #838383;
    margin-bottom: 0;
}

/* Tabbed content */

#panels input {
    display: none;
}

#panels nav {
    position: relative;
}

#panels nav::after {
    content: '';
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    height: 2px;
    display: block;
    background: #383840;
    z-index: -1;
}

#panels > input[id=tab1]:checked ~ nav label[for=tab1], 
#panels > input[id=tab2]:checked ~ nav label[for=tab2], 
#panels > input[id=tab3]:checked ~ nav label[for=tab3] {
    background: transparent;
    position: relative;
}

#panels > input[id=tab1]:checked ~ nav label[for=tab1]::after, 
#panels > input[id=tab2]:checked ~ nav label[for=tab2]::after, 
#panels > input[id=tab3]:checked ~ nav label[for=tab3]::after {
    content: '';
    position: absolute;
    top: 46px;
    left: 0;
    right: 0;
    height: 2px;
    display: block;
    background: linear-gradient(90deg, #ff55a5 0%, #ff5860 100%);
    box-shadow: 0 0 20px 0 rgba(255,88,96,0.5);
}


#panels > input[id=tab1]:checked ~ div[id=panel1], 
#panels > input[id=tab2]:checked ~ div[id=panel2], 
#panels > input[id=tab3]:checked ~ div[id=panel3] {
    display: block;
    margin-top: 2rem;
}
#panels label {
    padding: 10px 0px 10px 0;
    margin-right: 2rem;
    display: inline-block;
    transition: all 0.3s;
}
#panels label:hover {
    cursor: pointer;
}
#panels > div {
    padding: 15px 0;
    display: none;
}

#panel1 ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* End tabbed content */

/* Movie comments */
.movie-comment-form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 100%;
    padding: 30px 20px;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 20px;
    margin-bottom: 2rem;
    background: #28282d;
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.write-comment {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

::placeholder {
    font-size: .8rem;
    font-style: italic;
    color: rgba(206, 206, 206, 0.672);
}

.comment-text-area {
    background-color: #2b2b31;
    border: 1px solid transparent;
    height: 120px;
    position: relative;
    color: #fff;
    font-size: 16px;
    width: 100%;
    padding: 15px 20px;
    resize: none;
    border-radius: 8px;

}

.comment-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%);
    box-shadow: 0 0 16px 0 rgba(255,88,96,0.3);
    position: relative;
    padding: 0;
    border: none;
    transition: 0.5s ease;
    transition-property: color, background-color, border-color, box-shadow, opacity;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

@media (min-width: 50em) {
    .comment-btn {
        width: 20%;
    }
}


.movie-comments {
    margin-bottom: 3rem;
}
.movie-comments ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.movie-comments-list {
    margin-bottom: 30px;
}

.movie-comment-item {
    margin-top: 24px;
}

.movie-comment-author {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding-left: 60px;
    margin-bottom: 15px;
}

.movie-comment-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    border-radius: 50%;
}

.movie-comment-author img {
    vertical-align: middle;
}

.movie-comment-name {
    display: block;
    font-size: 16px;
    color: #fff;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 6px;
}

.movie-comment-time {
    display: block;
    font-size: 12px;
    color: #c7c7c7;
    line-height: 20px;
    font-weight: 300;
}

.movie-comment-text {
    display: block;
    margin: 0;
    color: #c7c7c7;
    font-size: 14px;
    line-height: 26px;
    background-color: #28282d;
    padding: 20px;
    position: relative;
    border-radius: 8px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-left: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
}

/* Movie comments end */

/* Rating styles */
.reviews ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reviews-list {
    margin-bottom: 30px;
}

.reviews-item {
    margin-top: 20px;
    display: block;
}

.reviews-author {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding-left: 60px;
    margin-bottom: 15px;
    padding-right: 60px;
}

.reviews-author img {
    vertical-align: middle;
}

.reviews-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    border-radius: 50%;
}

.reviews-name {
    display: block;
    font-size: 16px;
    color: #fff;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 6px;
}

.reviews-time {
    display: block;
    font-size: 12px;
    color: #c7c7c7;
    font-weight: 300;
    line-height: 20px;
}

.reviews-rating {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    position: absolute;
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    right: 0;
    top: 8px;
}

.reviews-rating svg {
    width: 16px;
    height: auto;
    margin-right: 5px;
    fill: #ff55a5;
    transition: fill 0.5s ease;
    vertical-align: middle;
}

.reviews-text {
    display: block;
    margin: 0;
    color: #c7c7c7;
    font-size: 14px;
    line-height: 26px;
    background-color: #28282d;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Rating form */
.review-form {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 100%;
    padding: 30px 20px;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.05);
    background: #28282d;
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.rating-grid-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 62em) {
    .rating-grid-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .rating-input {
        margin-right: 1rem;
    }
}

.rating-input, .rating-select, .rating-text {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.rating-input input {
    display: block !important;
}

.rating-title {
    background-color: #2b2b31;
    border: 1px solid transparent;
    height: 50px;
    position: relative;
    color: #fff;
    font-size: 16px;
    width: 100%;
    border-radius: 8px;
    padding: 0 20px;
}

.rating-options {
    background: url(../images/angle-down.svg) no-repeat center right 20px #2b2b31;
    background-size: 20px auto;
    border: 1px solid transparent;
    border-radius: 8px;
    height: 50px;
    position: relative;
    font-size: .8rem;
    font-style: italic;
    color: rgba(206, 206, 206, 0.672);
    width: 100%;
    padding: 0 20px;
    cursor: pointer;
    box-sizing: border-box;
}

.rating-grid-item select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
}

.rating-textarea {
    background-color: #2b2b31;
    border: 1px solid transparent;
    height: 120px;
    position: relative;
    color: #fff;
    font-size: 16px;
    width: 100%;
    padding: 15px 20px;
    resize: none;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    box-shadow: none;
}

.rating-button {
    width: 100%;
    cursor: pointer;
}

.rating-btn:hover {
    cursor: pointer;
}

.rating-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%);
    box-shadow: 0 0 16px 0 rgba(255,88,96,0.3);
    position: relative;
    border: none;
    transition: 0.5s ease;
    transition-property: color, background-color, border-color, box-shadow, opacity;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.success-msg {
    margin-bottom: 1rem;
    color: green;
    font-size: 1.2rem;
}

.error-msg {
    margin-bottom: 1rem;
    color: red;
    font-size: 1.2rem;
}

.login-to-review {
    text-align: center;
}

/* Rating styles end */

@media (min-width: 50em) {
    .movie-left-wrapper {
        display: flex;
    }
    .movie-meta {
        margin-left: 1rem;
    }
}

/* Two-column layout for larger screens */
@media (min-width: 62em) {
    .wrapper {
      grid-template-columns: 2fr 1fr;
    }
}

@media (min-width: 75em) {
    .movie-details {
      grid-template-columns: 1fr 1fr;
    }

    .wrapper {
        grid-template-columns: 3fr 1fr;
    }
}

/* Subscription widget */
.field-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
  
  .field-container input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    box-shadow: none;
    transition: 0.5s ease;
    transition-property: color, border-color, box-shadow;
  }
  
  .form-control,
  .form-control:focus,
  .form-control:active {
    background-color: #37373d !important;
  }
  
  .form-control:hover,
  .form-control:focus {
    border-color: #ff55a5;
  }
  
  .form-control {
    border: 1px solid transparent;
    height: 50px;
    position: relative;
    color: #fff !important;
    font-size: 16px;
    width: 100%;
    border-radius: 8px;
    padding: 0 10px;
  }

  .subscription-label {
    font-size: .8rem;
  }
  
  .submit-btn {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  .auth-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff5860 0%, #ff55a5 100%);
    box-shadow: 0 0 16px 0 rgba(255, 88, 96, 0.3);
    position: relative;
    transition: 0.5s ease;
    transition-property: color, background-color, border-color, box-shadow, opacity;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
  }