header{
    display: none;
    height: 0;
    width: 0;
}
.entity-img-name-etc{
    font-size: 2rem;
    padding-top: 40px;
    padding-bottom: 40px;
}

.entity-img-name-etc .container > div{
    box-shadow: 0 0 10px #00000041;
    padding: 20px;
    border-radius: 25px;
    border-top: 1px solid var(--tertiary-color);
}


.entity-img-name-etc h1{
    color: rgb(178, 8, 8);
    font-size: 3rem;
}
.entity-img-name-etc .e-img{
    height: 600px;
    margin-bottom: 20px;
}
.entity-img-name-etc .e-img img{
    max-width: 100%;
    height: 100%;
    width: 100%;
    max-height: 100%;
    display: block;
}

.entity-img-name-etc .e-des{
    margin-bottom: 20px;
}
.entity-img-name-etc .e-des h2, .entity-img-name-etc .e-pricing h2{
    font-size: 2.5rem;
    margin-bottom: 10px;

}
.entity-img-name-etc .e-des p{
    color: #505050;
    line-height: 1.6;
    word-wrap: break-word;
}

.entity-img-name-etc .e-options{
    display: flex;
    justify-content: center;
}
.entity-img-name-etc .e-options .sub-btn{
    width: 400px;
    cursor: pointer;
    color: #fff;
    font-size: 1.8rem;
    background-color: var(--secondary-color);
    display: block;
    padding: 10px 20px;
    text-align: center;
    border-radius: 25px;
    margin: 20px 0;

}

/* التنسيق العام */
.e-rating-section {
    padding-top: 20px;
}

.box-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* ملخص التقييم */
.rating-summary-box {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background-clip: padding-box;


}

.average-rating-display .rating-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--tertiary-color);
}

.rating-count {
    font-size: 1.6rem;
    color: #888;
    margin-top: 10px;
}

/* النجوم للعرض فقط */
.read-only-rating,
.rating-stars-display {
    unicode-bidi: bidi-override;
}

.star {
    font-size: 2.5em;
    color: #ccc;
}

.star.filled {
    color: gold;
}

/* نموذج إضافة التقييم */
.add-rating-form-box {
    padding: 20px;
    background-color: #fefefe2b;
    margin-bottom: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-bottom: 20px;
}

.rating-input input {
    display: none;
}

.rating-input label {
    font-size: 3em;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.rating-input label:hover,
.rating-input label:hover~label,
.rating-input input:checked~label {
    color: gold;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 1.8rem;
    color: #555;
}

.form-group textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--tertiary-color);
    background-color: transparent;
    outline: none;
}
.form-group textarea:focus{
    border: 2px solid var(--tertiary-color);

}
.add-rating-form-box button {
    background-color: var(--tertiary-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.8rem;
    margin-top: 15px;
}

.login-prompt a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* التقييمات السابقة */
.previous-ratings-box {
    padding: 20px;
    background-color: #fdfdfd1f;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.rating-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.rating-item:last-child {
    border-bottom: none;
}

.rating-details {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-user {
    font-size: 1.8rem;
    margin: 0;
}

.rating-date {
    font-size: 1.4rem;
    color: #aaa;
}

.rating-comment {
    font-size: 1.6rem;
    color: #333;
    margin-top: 5px;
}


.e-plans {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}



.e-plan {
    background-color: #ffffff1e;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #00000041;
    border-radius: 25px;
    border-top: 4px solid var(--secondary-color, rgb(178, 8, 8));
    padding: 30px 25px;
    text-align: center;
    flex: 1 1 300px;
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.e-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px #00000050;
}


.e-plan .e-info {
    flex-grow: 1;
}

.e-plan .plan-title {
    font-size: 1.9rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}

.e-plan .p {
    margin-bottom: 25px;
}

.e-plan .p-before-dis {
    font-size: 1.2rem;
    color: rgba(186, 4, 4);
    margin: 0 0 5px 0;
    height: 1.5em;
}

.e-plan .p-after-dis {
    font-size: 2rem;
    color: var(--tertiary-color);
    font-weight: 700;
    margin: 0;
}


.e-plan .e-options {
    margin-top: auto;
    padding-top: 20px;
}

.e-plan .sub-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--secondary-color, rgb(178, 8, 8));
    border: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.e-plan .sub-btn:hover {
    /* استخدام اللون الثالثي عند مرور الماوس كما في تصميمك */
    background-color: var(--tertiary-color, rgb(142, 6, 6));
}