/* TrustHost VPS Plans Styling */
.thvps-container {
    direction: rtl;
    text-align: right;
    font-family: inherit;
    margin-bottom: 2rem;
}

.thvps-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
    position: relative;
    overflow: hidden;
}

.thvps-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

.thvps-header-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.thvps-header-subtitle {
    font-size: 0.95rem;
    color: #94a3b8;
    margin-bottom: 0;
}

/* Nav Tabs */
.thvps-tabs-wrapper {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}

html.dark .thvps-tabs-wrapper {
    background: #1e293b;
    border-color: #334155;
}

.thvps-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: none;
}

.thvps-tab-item {
    flex: 1;
    min-width: 160px;
}

.thvps-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    text-decoration: none !important;
}

.thvps-tab-btn:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.06);
}

.thvps-tab-btn.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

html.dark .thvps-tab-btn {
    color: #94a3b8;
}

html.dark .thvps-tab-btn:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.thvps-tab-description {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

html.dark .thvps-tab-description {
    color: #94a3b8;
}

/* Cards Grid */
.thvps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.thvps-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.thvps-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #3b82f6;
}

html.dark .thvps-card {
    background: #1e293b;
    border-color: #334155;
}

html.dark .thvps-card:hover {
    border-color: #60a5fa;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.thvps-card-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
}

html.dark .thvps-card-header {
    border-bottom-color: #334155;
}

.thvps-plan-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

html.dark .thvps-plan-title {
    color: #f8fafc;
}

.thvps-plan-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    background: #eff6ff;
    color: #2563eb;
}

html.dark .thvps-plan-badge {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
}

/* Specs List */
.thvps-specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.thvps-spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 0.75rem;
}

html.dark .thvps-spec-item {
    color: #cbd5e1;
}

.thvps-spec-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

html.dark .thvps-spec-icon {
    background: #0f172a;
    color: #60a5fa;
}

/* Pricing Box */
.thvps-price-box {
    margin-bottom: 1.25rem;
    text-align: center;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
}

html.dark .thvps-price-box {
    background: #0f172a;
}

.thvps-price-amount {
    font-size: 1.45rem;
    font-weight: 900;
    color: #2563eb;
}

html.dark .thvps-price-amount {
    color: #60a5fa;
}

.thvps-price-period {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.15rem;
}

html.dark .thvps-price-period {
    color: #94a3b8;
}

/* Button */
.btn-thvps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}

.btn-thvps:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}
