.account-panel {
  color: #E6E6E6;
  padding: 8px 0;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-panel__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}
.account-panel__header span{
    margin-left: auto;
    font-size: 12px;
    line-height: 1.3;
    color:#FFFEFA;
}

.account-panel__title {
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 0 8px;
  color: #FFFFFF;
  font-weight: 600;
}
.account-review-list__empty{
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding-top: 104px;
}
.account-review-list__empty p {
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  vertical-align: middle;
  color:#B3B3B3;
  margin:0;
}
.account-review-list__empty .btn {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:8px;
  width: 360px;
}

/* product styles from order-list */
.order-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.order-item__image {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  background: #1a1a1a;
  border: 1px solid #262626;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.order-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding:7px 0;
}

.order-item__name {
  font-size: 12px;
  font-weight: 500;
  color: #FCFCFD;
  margin: 0;
  line-height: 1.2;
}

.order-item__prices {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  line-height: 1.3;
}
.order-item__price-wrap{
    display: flex;
    flex-direction: column;
    padding-top:10px;
    gap:4px;
}

.order-item__price-old {    
  color: #FFEB99;
  text-decoration: line-through;
}

.order-item__price {
  color: #FFFEFA;
  font-weight: 600;
}

.order-item__total {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: #FFFEFA;
  white-space: nowrap;
}
.order-total-price{
    display: flex;
    justify-content: space-between;
    padding-top:24px;
    font-size: 14px;
    font-weight: 700;
    color: #FCFCFD;
}

/* Reviews Form Styles */
.review-form {
  padding: 24px 16px;
}
#account-reviews .account-review-list{
    max-width: 700px;
}
.account-review-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===== Product Card ===== */
.review-form__product {
    margin-bottom: 24px;
}

.review-product-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #262626;
    border-radius: 8px;
}

.review-product-card__image {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #141414;
    border-radius: 6px;
    flex-shrink: 0;
}

.review-product-card__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.review-product-card__name {
    font-size: 12px;
    font-weight: 500;
    color: #E6E6E6;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.review-product-card__price-old {
    font-size: 11px;
    color: #999999;
    text-decoration: line-through;
    margin-right: 6px;
}

.review-product-card__price {
    font-size: 12px;
    font-weight: 600;
    color: #FFD11A;
}

/* ===== Rating Stars ===== */
.review-form__rating {
    display: flex;
    justify-content: center;
    padding: 24px 0;
    border-top: 1px solid #262626;
    border-bottom: 1px solid #262626;
}

.review-rating-stars {
  display: flex;
  flex-direction: column;
}
.review-rating-stars span{
  padding-bottom: 16px;
  font-size: 12px;
  color:#FFFEFA;
}
.review-form__tags .review-form__tags-title{
  padding-bottom:8px;
  font-size: 12px;
  color:#FFFEFA;
}

.review-rating-stars div{
    display: flex;
    gap: 2px;
}

.review-star {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #FFD11A;
    opacity: 0.4;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
}

.review-star:hover {
    opacity: 0.6;
    transform: scale(1.1);
}

.review-star.active {
    opacity: 1;
    transform: scale(1.15);
}

.review-star svg {
    width: 24px;
    height: 24px;
}
.review-star svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill .12s ease, stroke .12s ease, transform .12s ease;
}
.review-star.active svg path {
    fill: currentColor;
    stroke: currentColor;
}

/* ===== Tags Section ===== */
.review-form__tags {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid #262626;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.review-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #262626;
    border: 1px solid #262626;
    border-radius: 32px;
    color: #E6E6E6;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.review-tag__label{
    font-size: 10px;
    color:#F1F1F3;
}

.review-tag:hover {
    background: #262626;
    border-color: #333333;
}

.review-tag.active {
    background: #FFD633;
    color: #1A1A1A;
    border-color: #FFD633;
}

.review-tag__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
}

.review-tag.active .review-tag__label {
    color: #1a1a1a;
}


/* ===== Textarea ===== */

.review-form__content{
    padding:24px 0;
}
.review-form__label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #B3B3B3;
    margin-bottom: 8px;
}

.review-form__textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #262626;
    border-radius: 6px;
    color: #E6E6E6;
    font-size: 13px;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.review-form__textarea:focus {
    outline: none;
    border-color: #FFD11A;
    box-shadow: 0 0 0 3px rgba(255, 209, 26, 0.06);
}

.review-form__textarea::placeholder {
    color: #666666;
}

/* .review-form__hint {
    font-size: 11px;
    color: #999999;
    margin-top: 6px;
} */

/* ===== Upload Section ===== */
.review-form__upload {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-upload-btn {
    display: inline-flex;
    width: 220px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #98989A;
    font-size: 10px;
    line-height: 1.3;
    cursor: pointer;
}

.review-upload-btn svg {
    width: 16px;
    height: 16px;
    color:#FCFCFD;
}
.review-upload-btn svg path{
    fill: #141414;
}

.review-upload-input {
    display: none;
}

.review-upload-list {
    display: flex;
    gap: 6px;
}

.review-upload-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 6px;
    font-size: 12px;
    color: #E6E6E6;
    max-height: 85px;
    max-width: 152px;
}

.review-upload-item__name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Thumbnail and placeholder sizing */
.review-upload-item__info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.review-upload-item__thumb {
    height: 85px;
    width: 150px;
    max-height: 85px;
    width: auto;
    max-width: 120px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    display: block;
}

.review-upload-item__placeholder {
    height: 64px;
    width: 64px;
    max-height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #141414;
    color: #E6E6E6;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.review-upload-item__meta {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-upload-item__remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0 4px;
    font-size: 18px;
    line-height: 1;
}

/* Show remove button as overlay on hover */
.review-upload-item {
    position: relative;
}

.review-upload-item__remove {
    position: absolute;
    top: 0px;
    right: 10px;
    width: 25px;
    height: 25px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.review-upload-item:hover .review-upload-item__remove {
    display: flex;
}

/* Slight transition for hover effect */
.review-upload-item__remove {
    transition: opacity 0.12s ease, transform 0.12s ease;
    opacity: 0.95;
}

.review-upload-item__remove:hover {
    transform: scale(1.06);
}

/* ===== Submit Button ===== */
.review-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #FFD11A;
    border: none;
    border-radius: 6px;
    color: #141414;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 24px;
}

.review-form__submit svg {
    width: 14px;
    height: 14px;
}
.btn-dark{
	background-color: #262626;
	border: 1px solid #262626;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	color:#F1F1F3;
}
.btn-dark:hover{
  color:#F1F1F3;
}
.btn-dark svg{
	color: #FFD11A;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .account-review-list {
        width: 100%;
    }

    .review-product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .review-tags {
        justify-content: center;
    }

    .review-tag {
        padding: 6px 10px;
        font-size: 11px;
    }

    .review-form__textarea {
        font-size: 12px;
    }
}

/* REVIEW LIST */
.btn-leave-review-top{
    background-color: #FFD11A;
	border-color: #FFD11A;
	border-radius: 6px;
	color: #141414;
	font-weight: 600;
	font-size: 16px;
	padding: 12px;
    margin-left: auto;
    padding: 6px;
}
.btn-leave-review-top:hover, .btn-leave-review-top:active {
    background-color: #FFD11A;
	border-color: #FFD11A;
    text-decoration: none;
}
.btn-leave-review-top span{
    color:#141414;
}

.account-review-list__list{
    background: #141414;
    padding: 10px;
    border: 1px solid #262626;
    border-radius:10px;
    display: flex;
    flex-direction: column;
    gap:10px;
}
.account-review-list__item{
    background: #1a1a1a;
    border: 1px solid #262626;
    padding: 24px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.account-review-list__item-header{
    display: flex;
    padding-bottom: 16px;
    border-bottom: 1px solid #cccccc;
}
.account-review-list__header-info{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.account-review-list__products_name span{
    font-size:12px;
    font-weight: 500;
    line-height: 1.2;
    color:#F1F1F3;
}
.account-review-list__item-header,
.account-review-list__header-info {
    box-sizing: border-box;
}
.account-review-list__header-info{
    display: flex;
    flex-direction: column;
    gap:4px;
    width: 100%;
}
.account-review-list__header-info-wrap{
    display: flex;
    justify-content: space-between;
}
.account-review-list__header-info-wrap>span:first-of-type{
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color:#fff;
}
.account-review-list__header-date{
    font-size:10px;
    line-height: 1.3;
    color:#7E7E81;
}
.account-review-list__rating{
    display: flex;
    gap:2px;
}
.account-review-list__rating .review-star svg{
    width: 12px;
    height: 12px;
}
.account-review-list__item-text {
    padding:16px 0;
    font-size: 12px;
    color:#98989A;
}
.account-review-list__item-images {
    padding-top: 16px;
}
.account-review-list__item-images .review-upload-list{
    gap:6px;
}
.account-review-list__item-tags {
    display: flex;
    flex-wrap: wrap;
    gap:4px;
}

/* modal window */
.review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-modal-overlay.inactive {
    display: none;
}

.review-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0f0f0f;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 24px;
    max-width: 370px;
    width: 90%;
    z-index: 2001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.review-modal.inactive {
    display: none;
}

.review-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.review-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: #FFD11A;
    border-radius: 50%;
    margin-top:32px;
}
.review-modal__text{
    display: flex;
    flex-direction: column;
    gap:12px;
}
.review-modal__text span:first-of-type {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.review-modal__text span:last-of-type {
    font-size: 12px;
    color: #DDDDDD;
    margin: 0;
    line-height: 1.3;
}
.review-modal__buttons{
    display: flex;
    gap:8px;
    width: 100%;
}
#modal-success .review-modal__buttons{
    flex-direction: column;
}
#modal-success .review-modal-btn:hover,
#modal-success .review-modal-btn:active{
    color: #141414;
}
#modal-success .review-modal-btn-no:hover,
#modal-success .review-modal-btn-no:active{
    color: #F1F1F3;
}
.review-modal-btn, .review-modal-btn-no {
    display: flex;
    flex: 1 0 0;
    padding: 11px 24px;
    background: #FFD11A;
    color: #141414;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    justify-content: center;
}
.review-modal-btn-no{
    background: #262626;
    border: 1px solid #262626;
    color: #F1F1F3;
}
.review-modal-btn:hover {
    background: #FFDB4D;
}

.signup-country-trigger svg {
    pointer-events: none;
}

/* MEDIA 992px */
@media(max-width: 992px){
    .review-upload-item__remove{
        display: flex;
        top: 3px;
        right: 3px;
        width: 15px;
        height: 15px;
    }
}


/* MEDIA 768px */
@media(max-width: 768px){
    .review-form{
        padding:24px 0;
    }
}

/* MEDIA 500px */
@media(max-width: 500px){
    .account-review-list{
        width: 100%!important;
    }
    .review-upload-list{
        flex-wrap: wrap;
    }
}
