/* Scoped styles to mimic the legacy WEVO room pages */
.wevo-room-page {
    --wevo-header: #378fc3;
    --wevo-header-2: #74c0ed;
    --wevo-text: #47484a;
    --wevo-bg: #f5f7fa;
}

.wevo-room-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.wevo-room-page .root-header {
    text-align: center;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
	margin-top: 85px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wevo-room-page .root-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
    color: #2d3748;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.wevo-room-page .root-header p {
    font-size: 1.125rem;
    color: #718096;
    margin-top: 0.5rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Section Buttons */
.wevo-room-page .section-buttons {
    display: flex;
    margin-top: 40px;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wevo-room-page .section-btn {
    background: white;
    color: var(--wevo-header);
    border: none;
    padding: 15px 40px;
    font-size: 17px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: var(--font-ar);
}

.wevo-room-page .section-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: var(--wevo-header);
    color: white;
}

.wevo-room-page .section-btn.active {
    background: linear-gradient(316deg, var(--wevo-header) 0%, var(--wevo-header-2) 100%);
    color: white;
    transform: scale(1.05);
}

.wevo-room-page .section-btn i {
    margin-left: 10px;
}

.wevo-room-page .section-title {
    text-align: center;
    color: var(--wevo-text);
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--wevo-header);
}

.wevo-room-page .price-section {
    animation: wevoFadeIn 0.5s ease-in;
}

@keyframes wevoFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wevo-room-page .button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 85px;
    direction: ltr;
}

.wevo-room-page .button-card {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.wevo-room-page .button-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.wevo-room-page .card-icon {
    margin-bottom: 20px;
    position: relative;
}

.wevo-room-page .card-icon img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.wevo-room-page .master-info {
    font-family: var(--font-en);
    position: absolute;
    top: 86px;
    left: 50%;
    padding: 6px 12px;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    background: #4d4f50;
    border-radius: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
}

.wevo-room-page .master-count {
    font-size: 50px;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    margin-right: 8px;
}

.wevo-room-page .master-count.red { color: #ff5757; }
.wevo-room-page .master-count.green { color: #7ed957; }
.wevo-room-page .master-count.yellow { color: #ffde59; }
.wevo-room-page .master-count.blue { color: #6fceff; }

.wevo-room-page .master-label {
    color: white;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}

.wevo-room-page .duration {
    color: #3498db;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 55px;
    direction: rtl;
}

.wevo-room-page .description {
    color: #4e657b;
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 500;
}

.wevo-room-page .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 25px;
    direction: rtl;
}

/* Buttons (mimic legacy) */
.wevo-room-page .btn {
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wevo-room-page .btn-primary {
    padding: 8px 20px;
    background: linear-gradient(316deg, var(--wevo-header) 0%, var(--wevo-header-2) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.wevo-room-page .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgb(115 126 151 / 52%);
}

.wevo-room-page .btn-cancel {
    background: #f8f9fa;
    color: var(--wevo-header);
    border: 2px solid var(--wevo-header);
    padding: 8px 20px;
}

.wevo-room-page .btn-cancel:hover {
    background: var(--wevo-header);
    color: white;
    text-decoration: none;
}

.wevo-room-page .form-actions {
    text-align: center;
    display: flex;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Premium marketing block (from legacy prev.php) */
.wevo-room-page .premium-marketing {
    text-align: center;
    padding: 40px 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(49, 119, 187, 0.12);
    margin: 10px 0 30px;
}

.wevo-room-page .no-data-icon {
    font-size: 52px;
    margin: 0 0 12px;
    opacity: 0.95;
}

.wevo-room-page .no-data-title {
    margin: 0 0 10px 0;
    color: #667eea;
    font-size: 1.35rem;
    font-weight: 900;
}

.wevo-room-page .no-data-text {
    margin: 0 auto 18px;
    font-size: 0.98rem;
    color: #6c757d;
    line-height: 1.8;
    max-width: 860px;
    font-weight: 600;
}

.wevo-room-page .root-features-box {
    margin: 18px auto;
    max-width: 900px;
    text-align: start;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border: 1px solid rgba(102, 126, 234, 0.18);
    border-radius: 16px;
    padding: 22px 20px;
}

.wevo-room-page .root-features-title {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 900;
    color: #2c3e50;
}

.wevo-room-page .root-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.wevo-room-page .root-features-list li {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(102, 126, 234, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 600;
}

.wevo-room-page .cta-text {
    margin: 12px auto 0;
    max-width: 900px;
    color: #2c3e50;
    font-weight: 800;
    line-height: 1.8;
}

/* Details page blocks */
.wevo-room-page .room-details-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.wevo-room-page .marketing-section {
    margin: 40px 0;
}

.wevo-room-page .marketing-title {
    font-size: 22px;
    font-weight: 800;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 12px;
}

.wevo-room-page .marketing-title img {
    width: 100px;
    height: auto;
    margin-top: 9px;
    margin-bottom: -9px;
}

.wevo-room-page .marketing-text {
    color: #6c757d;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 18px;
}

.wevo-room-page .marketing-benefits {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

.wevo-room-page .benefit-item {
    background: rgba(55, 143, 195, 0.08);
    border: 1px solid rgba(55, 143, 195, 0.15);
    padding: 10px 16px;
    border-radius: 12px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.wevo-room-page .benefit-icon {
    color: var(--wevo-header);
}

.wevo-room-page .benefit-text {
    font-weight: 700;
    color: #2c3e50;
}

.wevo-room-page .marketing-text2 {
    text-align: center;
    margin-top: 18px;
    font-weight: 800;
    color: var(--wevo-header);
}

.wevo-room-page .specifications-section h3 {
    margin-top: 25px;
    color: #2c3e50;
}

.wevo-room-page .pricing-table {
    background: white;
    border-radius: 12px;
    padding: 0;
    margin-top: 20px;
    border: 2px solid #e9ecef;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wevo-room-page .pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 2px solid #f1f3f4;
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.wevo-room-page .pricing-row:last-child { border-bottom: none; }
.wevo-room-page .pricing-row:nth-child(odd) { background: #fafbfc; }
.wevo-room-page .pricing-row:hover { background: #e8f4fd; transform: translateX(5px); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.wevo-room-page .pricing-label {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    flex: 1;
    position: relative;
}

.wevo-room-page .pricing-value {
    color: var(--wevo-header);
    font-weight: 800;
    font-size: 1.2rem;
    text-align: right;
    min-width: 100px;
}

.wevo-room-page .price-display {
    background: linear-gradient(135deg, #e58e26, #f39c12);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgb(115 126 151 / 52%);
    width: 300px;
    margin: 20px auto 0;
}

.wevo-room-page .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wevo-room-page .price-amount a {
    font-size: 24px;
    color: #2c3e50;
    text-shadow: 0 0 black;
}

.wevo-room-page .rooms-table-wrap {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e6edf3;
    margin-bottom: 40px;
}

.wevo-room-page .rooms-price-table {
    width: 100%;
    border-collapse: collapse;
}

.wevo-room-page .rooms-price-table thead th {
    background: linear-gradient(316deg, var(--wevo-header) 0%, var(--wevo-header-2) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 12px;
    text-align: center;
}

.wevo-room-page .rooms-price-table tbody td {
    padding: 13px 12px;
    border-bottom: 1px solid #eef3f7;
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
}

.wevo-room-page .rooms-price-table tbody tr:nth-child(odd) {
    background: #fafcff;
}

.wevo-room-page .rooms-price-table tbody tr:hover {
    background: #f1f8fe;
}

.wevo-room-page .master-pill {
    display: inline-block;
    min-width: 48px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    color: #fff;
}

.wevo-room-page .master-pill.red { background: #ff5757; }
.wevo-room-page .master-pill.green { background: #7ed957; color: #1f2d18; }
.wevo-room-page .master-pill.yellow { background: #ffde59; color: #4a3a00; }
.wevo-room-page .master-pill.blue { background: #6fceff; color: #09364f; }

.wevo-room-page .price-cell {
    color: #0b6ea4;
    font-weight: 800;
}

/* Root name page — marketing blocks (legacy wevo/root/index.php) */
.wevo-room-page .marketing-icon {
    font-size: 3rem;
    margin: 0 0 12px;
    line-height: 1.2;
}

.wevo-room-page .marketing-title {
    margin: 0 0 10px;
    color: #378fc3;
    font-size: 1.5rem;
    font-weight: 800;
}

.wevo-room-page .marketing-subtitle {
    margin: 0 auto 18px;
    max-width: 900px;
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
    font-weight: 600;
}

.wevo-room-page .how-to-box {
    margin: 22px auto;
    max-width: 900px;
    text-align: start;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.12), rgba(255, 255, 255, 0.5));
    border: 2px solid rgba(33, 150, 243, 0.45);
    border-radius: 14px;
    padding: 20px 18px;
}

.wevo-room-page .how-to-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1976d2;
    text-align: center;
}

.wevo-room-page .how-to-steps p {
    margin: 10px 0;
    padding-right: 22px;
    position: relative;
    font-size: 0.98rem;
    color: #0d47a1;
    line-height: 1.65;
    font-weight: 600;
}

.wevo-room-page .how-to-steps p span {
    position: absolute;
    right: 0;
    font-weight: 800;
    color: #2196f3;
}

.wevo-room-page .tip-box {
    margin: 22px auto;
    max-width: 900px;
    text-align: start;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 237, 78, 0.12));
    border: 2px solid rgba(255, 193, 7, 0.55);
    border-radius: 14px;
    padding: 18px 16px;
}

.wevo-room-page .tip-box p {
    margin: 0;
    font-size: 0.98rem;
    color: #856404;
    line-height: 1.7;
    font-weight: 600;
}

.wevo-room-page .tip-box strong {
    font-size: 1.05rem;
}

.wevo-room-page .marketing-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 8px;
}

.wevo-room-page .btn-add-root {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(316deg, var(--wevo-header) 0%, var(--wevo-header-2) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 5px 18px rgba(55, 143, 195, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wevo-room-page .btn-add-root:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(55, 143, 195, 0.45);
    color: #fff;
}

.wevo-room-page .contact-text {
    margin-top: 18px;
    font-size: 0.92rem;
    color: #868e96;
}

.wevo-room-page .contact-text a {
    color: var(--wevo-header);
    font-weight: 700;
    text-decoration: none;
}

.wevo-room-page .contact-text a:hover {
    text-decoration: underline;
}

.wevo-room-page .wevo-root-dashboard-title {
    margin: 28px 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e9ecef;
}

.wevo-room-page .wevo-root-dashboard-title h3 {
    margin: 0;
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 800;
}

/* Saving packages — 3-offer cards */
.wevo-room-page .saving-card {
    padding-top: 32px;
    overflow: visible;
}

.wevo-room-page .saving-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(316deg, #5a67d8 0%, #667eea 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.45);
    white-space: nowrap;
    z-index: 2;
}

.wevo-room-page .saving-card-popular .saving-card-badge {
    background: linear-gradient(316deg, #e67e22 0%, #f39c12 100%);
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.45);
}

.wevo-room-page .saving-card-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #1e3a5f;
    margin: 0 0 6px;
    line-height: 1.35;
}

.wevo-room-page .saving-card .saving-card-duration {
    margin-top: 6px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #2980b9;
}

.wevo-room-page .saving-card-popular {
    border: 2px solid rgba(243, 156, 18, 0.65);
    box-shadow: 0 12px 40px rgba(243, 156, 18, 0.22);
    transform: scale(1.02);
}

.wevo-room-page .saving-card-popular:hover {
    transform: scale(1.02) translateY(-5px);
}

.wevo-room-page .wevo-saving-footer-note {
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .wevo-room-page .section-buttons { flex-direction: column; align-items: center; }
    .wevo-room-page .section-btn { width: 100%; max-width: 300px; }
    .wevo-room-page .button-grid { grid-template-columns: 1fr; }
    .wevo-room-page .room-details-container { padding: 5px; }
    .wevo-room-page .pricing-label { font-size: 15px; }
    .wevo-room-page .pricing-row { padding: 10px 10px; }
    .wevo-room-page .rooms-table-wrap {
        overflow-x: auto;
    }
    .wevo-room-page .rooms-price-table {
        min-width: 620px;
    }
    .wevo-room-page .premium-marketing { padding: 28px 14px; }
    .wevo-room-page .root-features-box { padding: 18px 14px; }
    .wevo-room-page .saving-card-popular {
        transform: none;
    }
    .wevo-room-page .saving-card-popular:hover {
        transform: translateY(-5px);
    }
}

