:root {

    --viph-border-radius: 8px;
    --viph-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --viph-transition: all 0.3s ease;
}

.viph .w3-btn,
.viph .w3-button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.viph .w3-btn,
.viph .w3-button {
    border: none;
    display: inline-block;
    outline: 0;
    padding: 4px 10px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    height: 32px;
}

.viph .w3-white,
.viph .w3-hover-white:hover {
    color: #000 !important;
}

.viph .w3-light-grey,
.viph .w3-hover-light-grey:hover,
.viph .w3-light-gray,
.viph .w3-hover-light-gray:hover {
    color: #000 !important;
}

.viph .w3-large {
    font-size: 18px !important;
}

.viph .w3-display-topright {
    position: inherit;
    right: 0;
    top: 0;

}

.viph .w3-panel p {
    padding: 4px;
}

.viph .w3-red,
.viph .w3-hover-red:hover {
    color: #fff !important;
    background-color: #f44336 !important;
}

.viph .w3-disabled,
.viph .w3-btn:disabled,
.viph .w3-button:disabled {
    cursor: not-allowed;
    opacity: 0.3
}

.viph.w3-disabled *,
.viph:disabled * {
    pointer-events: none
}

.viph .w3-btn.w3-disabled:hover,
.viph .w3-btn:disabled:hover {
    box-shadow: none
}

.viph .w3-button:hover {
    color: #000 !important;
    background-color: #ccc !important
}

.viph_plans_list label,
.viph_gatway_list label {
    display: inline;
}

.viph_gatway_list {
    margin-top: 20px;
    background: white;
    padding: 20px;
    border-radius: var(--viph-border-radius);
    box-shadow: var(--viph-shadow);
    border: 1px solid #ddd;
}

.viph_gatway_list p {
    margin: 4px 0;
}

.viph_gatway_list p label {
    padding: 10px;
    background: #f8f9fa;
    border-radius: var(--viph-border-radius);
    margin: 4px 0;
    display: block;
    transition: var(--viph-transition);
}

.viph_gatway_list p label:hover {
    background: #e9ecef;
}

.viph_loader {
    border: 6px solid #f3f3f3;
    /* Light grey */
    border-top: 6px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 39px;
    height: 39px;
    animation: viph_spin 2s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes viph_spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hide {
    display: none;
}


.viph .festival_bar2 {
    background: #f44336;
    top: 0;
    left: 0;
    text-align: center;
    /* font-size: 12px; */
    font-family: inherit;
    position: fixed;
    width: 100%;
    z-index: 101;
    min-height: 30px;
    color: #fff;
}

.viph .festival_bar2 p {
    margin-top: 5px;
    vertical-align: middle;
}

@media only screen and (min-width: 768px) {
    .viph.festival_bar2 p {
        /* font-size: 12px; */

    }

    .viph .festival_bar2 {
        height: 32px;
    }
}

.viph .verification_top_alert {
    padding: 10px 0;
    color: #fff;
    line-height: 32px;
}

.viph .verification_top_alert {
    background: #e55e5e;
}

.viph .container-fluid {
    margin-right: auto;
    margin-left: auto;
    font-size: normal;
    padding-left: 15px;
    padding-right: 15px;
}

.viph .col-lg-1,
.viph .col-lg-10,
.viph .col-lg-11,
.viph .col-lg-12,
.viph .col-lg-2,
.viph .col-lg-3,
.viph .col-lg-4,
.viph .col-lg-5,
.viph .col-lg-6,
.viph .col-lg-7,
.viph .col-lg-8,
.viph .col-lg-9,
.viph .col-md-1,
.viph .col-md-10,
.viph .col-md-11,
.viph .col-md-12,
.viph .col-md-2,
.viph .col-md-3,
.viph .col-md-4,
.viph .col-md-5,
.viph .col-md-6,
.viph .col-md-7,
.viph .col-md-8,
.viph .col-md-9,
.viph .col-sm-1,
.viph .col-sm-10,
.viph .col-sm-11,
.viph .col-sm-12,
.viph .col-sm-2,
.viph .col-sm-3,
.viph .col-sm-4,
.viph .col-sm-5,
.viph .col-sm-6,
.viph .col-sm-7,
.viph .col-sm-8,
.viph .col-sm-9,
.viph .col-xs-1,
.viph .col-xs-10,
.viph .col-xs-11,
.viph .col-xs-12,
.viph .col-xs-2,
.viph .col-xs-3,
.viph .col-xs-4,
.viph .col-xs-5,
.viph .col-xs-6,
.viph .col-xs-7,
.viph .col-xs-8,
.viph .col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}



.viph .clearfix:after,
.viph .clearfix:before,
.viph .dl-horizontal dd:after,
.viph .dl-horizontal dd:before,
.viph .modal-footer:after,
.viph .modal-footer:before,
.viph .modal-header:after,
.viph .modal-header:before {
    content: " ";
    display: table;
}



.viph #selectAcc {
    margin-top: 20px;
    max-width: 310px;
}



.viph .pricing-box.active {
    border-color: #A1DDFF;
    background: #F6FBFE;
}

.viph .pricing-box input[type='radio'] {
    display: none;
}

.viph .pricing-box {
    background: white;
    border-radius: var(--viph-border-radius);
    padding: 20px;
    box-shadow: var(--viph-shadow);
    transition: var(--viph-transition);
    border: 3px solid rgb(238, 238, 238);
    width: 100%;
    max-width: 320px;
    /* overflow: hidden; */
    margin-top: 20px;
    position: relative;
}

.viph .pricing-box h3.name {
    padding-right: 5px;
}

.viph .pricing-box h3.name.popular {
    margin-top: 10px;
}

.viph .pricing-box .plan-header {
    height: 50px;
    padding: 0;
    margin: 12px 15px 5px 15px;
    cursor: pointer;
    display: inline-block;
}

.viph .pricing-box .plan-header {
    text-align: center;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.viph .plan-header span.ph-price,
.viph .plan-header span.ph-day {
    color: #733f3c;
}

.viph .plan-header .ph-price span,
.viph .plan-header .ph-day span {
    margin-top: 0.75px;
}

.viph .plan-header>span {
    display: inline-block;
}

.viph .plan-header>span {
    font-style: normal;
    font-size: 0.75em;
    -width: 23%;
}

.viph .plan-header span.ph-price i,
.viph .plan-header span.ph-day i {
    width: 100%;
    font-size: 2em;
    color: #733f3c;
    background: transparent;
    margin-bottom: 0.3em;
}

.viph .plan-header span.ph-price i .display-price {
    font-size: 0.85em;
}

.viph .plan-header span.ph-price i span {
    color: #733f3c;
}


.viph .plan-header span.ph-price i .viph-plan-original-price {
    color: #919191;

    display: block;
}

.viph .plan-header span.ph-currency {
    display: block;
}

.viph .plan-header span.ph-price i .ph-currency {
    display: contents;
    font-size: 0.65em;
}



.viph-plans {
    font-family: inherit, tahoma, sans-serif !important;
    font-size: 1em;
}

.viph .plan-header i {
    font-style: normal;
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto;
    margin-bottom: 0px;
}

.viph .plan-header span.ph-day,
.viph .plan-header span.ph-day i,
.viph .plan-header span.ph-price span {
    color: #919191;
}

.viph #viph_submit_pay {

    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--viph-transition);
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    font-weight: bold;
}

.viph .pricing-box {
    padding-right: 5px;
    padding-left: 5px;
}

.viph .sell2.one-fourth {
    width: 33%;
    margin: 0 5% 0 0;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
}

.viph .four.columns,
.viph .one-fourth.column {
    width: 310px;
}

.viph .float-right {
    float: right;
}

.viph .column,
.viph .columns {
    float: right;
    margin: 0 1% 25px;
}

.viph .sell-level {
    display: inline-block;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    position: relative;
    padding-top: 5px;
    margin: 0 5px;
}

.viph .sell-level span {
    display: inline-block;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    border-radius: 50%;
    background: #C70B22;
    color: white;
    vertical-align: middle;
}

.viph .sell-level canvas {
    content: "";
    width: 50px;
    height: 50px;
    display: block;
    position: absolute;
    left: -55px;
    top: 0;
}

.viph .sell3.one-fourth {
    width: 310px;
    margin: 0 5% 0 0;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
}

.viph .sell-desc {


    white-space: nowrap;
    font-size: 1em;

    background: white;
    padding: 20px;
    border-radius: var(--viph-border-radius);
    margin-top: 20px;
    box-shadow: var(--viph-shadow);
    border: 1px solid #ddd;

}

.viph #bill-name {
    line-height: 20px;
    padding: 5px 0;
}

.viph .sell-desc span {
    color: #A5403A;
    white-space: normal;
}

.sell-submit,
.sell-submit-dark {
    background: #C70B22;
    color: white;
    border: 1px solid #BD3939;
    margin-top: 15px;
}

.sell-but {
    line-height: 50px;
    padding: 0 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    text-align: center;
    margin: 0 0 5px;
    margin-top: 0px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.viph .menu-item-1613,
.viph .menu-item-1612 {
    background: #585858 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    color: rgba(255, 255, 255, 0.7);
    min-width: 87.033px;
    text-align: center;
}

.viph .menu-item-1613 a:after,
.viph .menu-item-1613 .nav-top-link:after {
    content: "";
    width: 0px;
    border-left: none;
    height: 0px;
    margin-top: 0px;
    left: 0;
}

.viph .page-item-1612 a:after,
.viph .page-item-1612 .nav-top-link:after,
.viph .menu-item-127 .nav-top-link:after {
    content: "";
    width: 0px;
    border-left: none;
    height: 0px;
    margin-top: 0px;
    left: 0;
}

.viph .menu-item-1613 .nav-top-link,
.viph .menu-item-1612 .nav-top-link {
    font-size: 13px !important;
}

.viph .vc_column-inner {
    padding: 0 !important;
    flex-shrink: 0;
}

.viph a.w-btn {
    text-decoration: none !important;
}

.viph .w-btn-wrapper.align_center {
    text-align: center;
}

.viph .w-btn-wrapper {
    margin: 5px 0;
}

.viph .w-btn.color_pink.style_outlined {
    box-shadow: 0 0 0 2px #ff6b6b inset;
    color: #ff6b6b;
}

.viph .w-btn.color_pink,
.viph .w-btn.color_pink:hover,
.viph .w-btn.color_pink.style_outlined:hover {
    color: #555;
    box-shadow: 0 0 0 2px #555 inset;
}

.viph .w-btn:before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: rgba(0, 0, 0, .1);
    transition: height 0.3s;
}

.viph .style_outlined:before {
    background-color: #ff6b6b;
}

.viph .w-btn.style_outlined {
    background-color: transparent !important;
}

.viph a.w-btn {
    border: none !important;
}

.viph .w-btn {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 2.8;
    padding: 0 1.8em;
    border-radius: 0.3em;
    letter-spacing: 0px;
}

.viph .w-btn {
    overflow: hidden;
}

.viph .w-btn {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    white-space: nowrap;
    position: relative;
    border: none;
    z-index: 0;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, opacity 0.3s, color 0.3s;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}







/* Membership Alert Box - for ham3da */
.viph-membership-alert {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border: 1px solid #ff6b6b;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.15);
    animation: fadeIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.viph-membership-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ff6b6b, #f72585);
}

.viph-membership-alert h3 {
    color: #f72585;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.viph-membership-alert p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.viph-membership-alert .alert-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f72585 0%, #b5179e 100%);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
    transition: all 0.3s ease;
    margin: 0 10px;
}

.viph-membership-alert .alert-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(247, 37, 133, 0.4);
}

.viph-membership-alert .alert-btn i {
    margin-left: 8px;
    font-size: 1.2em;
}

.viph-membership-alert a.alert-btn {
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .viph-membership-alert {
        padding: 20px 15px;
    }

    .viph-membership-alert h3 {
        font-size: 1.2em;
    }

    .viph-membership-alert .alert-btn {
        padding: 10px 20px;
        width: 100%;
        justify-content: center;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.viph-gateway-title {
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Payment Button CSS - for ham3da */
.viph-payment-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    margin: 20px auto;
    width: 100%;
    max-width: 280px;
}

.viph-payment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.5);
}

.viph-payment-btn:active {
    transform: translateY(1px);
}

.viph-payment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.viph-payment-btn:hover::before {
    opacity: 1;
}


.viph-payment-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-arrow path {
    fill: currentColor;
}

.viph-payment-btn .btn-text {
    position: relative;
}

.viph-payment-btn .btn-loader {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.viph-payment-btn.loading .btn-text,
.viph-payment-btn.loading .btn-arrow {
    opacity: 0.3;
}

.viph-payment-btn.loading .btn-loader {
    opacity: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ripple Effect */
.viph-payment-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.viph-payment-btn:active::after {
    animation: ripple 0.6s ease-out;
}


@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.viph-payment-container {
    font-family: inherit;
    direction: inherit;
    max-width: 600px !important;
    margin: 30px auto;
    padding: 20px;
}

.viph-payment-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.viph-payment-card.viph-success {
    border-top: 4px solid #4CAF50;
}

.viph-payment-header {
    text-align: center;
    padding: 30px 20px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.viph-status-icon {
    margin-bottom: 15px;
}

.viph-payment-header h2 {
    color: #333;
    margin: 10px 0 5px;
    font-size: 24px;
}

.viph-thank-you-message {
    color: #666;
    font-size: 16px;
    margin-top: 5px;
}

.viph-payment-details {
    padding: 20px;
}

.viph-detail-section {
    margin-bottom: 25px;
}

.viph-detail-section h3 {
    color: #444;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.viph-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.viph-detail-label {
    color: #777;
    font-weight: 500;
}

.viph-detail-value {
    color: #333;
    font-weight: 600;
}

.viph-success-text {
    color: #4CAF50;
}

.viph-price {
    color: #2196F3;
    font-size: 18px;
}

.viph-currency {
    font-size: 14px;
}

.viph-payment-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: #f9f9f9;
}

.viph-btn {
    padding: 6px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.viph-primary-btn {
    background-color: #4CAF50;
    color: white;
}

.viph-primary-btn:hover {
    background-color: #3e8e41;
}

.viph-secondary-btn {
    background-color: white;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.viph-secondary-btn:hover {
    background-color: #f1f8e9;
}

.viph-payment-footer {
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
    color: #777;
    font-size: 14px;
}

@media (max-width: 480px) {
    /* .viph-payment-actions {
        flex-direction: column;
    } */

    /* .viph-detail-row {
        flex-direction: column;
    } */

    .viph-detail-label {
        margin-bottom: 5px;
    }

    .viph-message-actions {
        flex-direction: column;
    }
}


/* سیستم پیام یکپارچه */
.viph-message-container {
    font-family: inherit;
    direction: inherit;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
}

.viph-message-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 4px solid;
}

.viph-message-header {
    text-align: center;
    padding: 30px 20px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.viph-message-icon {
    margin-bottom: 15px;
}

.viph-message-header h2 {
    color: #333;
    margin: 10px 0 5px;
    font-size: 24px;
}

.viph-message-content {
    color: #666;
    font-size: 16px;
    margin-top: 5px;
}

.viph-message-details {
    padding: 20px;
}

.viph-detail-section {
    margin-bottom: 25px;
}

.viph-detail-section h3 {
    color: #444;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.viph-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}

.viph-detail-label {
    color: #777;
    font-weight: 500;
}

.viph-detail-value {
    color: #333;
    font-weight: 600;
}

.viph-message-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: #f9f9f9;
}

.viph-secondary-btn {
    background-color: white;
    border: 1px solid;
}

.viph-message-footer {
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
    color: #777;
    font-size: 14px;
}

/* VIP Plans Styling */
.viph-plan-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s ease;
    border: 1px solid #e0e6ed;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
}


.viph-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.viph-plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #cbd5e0;
}

.viph-plan-price {
    font-size: 25px;
    font-weight: bold;
    color: #4a5568;
    text-align: center;
    margin: 20px 0;
}

.viph-plan-price span {
    font-size: 16px;
    color: #718096;
}

.viph-plan-original-price {
    text-decoration: line-through;
    color: #a0aec0;
    font-size: 18px;
    margin-left: 10px;
}

.viph-plan-features {
    margin: 20px 0;
}

.viph-plan-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #4a5568;
}

.viph-plan-feature i {
    color: #48bb78;
    margin-left: 8px;
}

.viph-plan-btn {
    display: block;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    font-family: inherit;
}

.viph-plan-btn:hover {
    background: linear-gradient(to right, #5a67d8, #6b46c1);
    color: white;
    transform: translateY(-2px);
}

.viph-gateways {
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.viph-gateway-option {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    cursor: pointer;
}

.viph-gateway-option input {
    margin-right: 10px;
    margin-left: 10px;
}

.viph-gateway-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 4px;
}

.viph .pricing-box .viph-plan-popular {
    top: -15px;
}

.viph-plan-popular {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #f56565;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.viph-alert {
    position: relative;
    padding: 15px 40px 15px 15px;
    margin: 20px 10px;
    background-color: #fce4ec;
    color: #c2185b;
    border: 1px solid #f8bbd0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

html[lang="fa-IR"] .viph-alert {
    padding: 15px 15px 15px 40px;

}



.viph-alert .viph-alert-close {
    position: absolute;
    top: 8px;
    right: 10px;
    left: unset;
    background: transparent;
    border: none;
    color: #c2185b;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: fit-content;
}

html[lang="fa-IR"] .viph-alert .viph-alert-close {
    position: absolute;
    top: 8px;
    left: 10px;
    right: unset;
}


.viph-alert .viph-alert-close:hover {
    color: #880e4f;
}

.viph-alert-message {
    display: block;
    padding: 5px;
    ;
}

.viph-special-offer {
    color: #e53e3e;
    font-weight: 600;
    margin-top: 10px;
    text-align: center;
}

.viph-plan-description {
    align-items: flex-start;
}

.viph-description-content {
    margin-right: 0px;
    /* max-height: 150px; */
    overflow-y: auto;
    padding: 0;
}

.viph-description-content p {
    margin: 0 0 10px 0;
}

.viph-description-content ul,
.viph-description-content ol {
    padding-right: 20px;
    margin: 10px 0;
}


/* style for palns */

.viph-plans-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.viph-gateways-selector {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.viph-gateways-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.viph-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}



.viph-plans-container .fa,
.viph-plans-container .fas,
.viph-plans-container .far,
.viph-plans-container .fal,
.viph-plans-container .fad,
.viph-plans-container .fab {
    line-height: inherit;
}

/* استایل‌های مودال */
.viph-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.viph-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    position: relative;
}

.viph-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.viph-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.viph-close:hover {
    color: #333;
}

.viph-modal-body {
    padding: 20px 0;
}

.viph-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.viph-btn {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.viph-btn-cancel {
    background: #f1f1f1;
    color: #333;
}

.viph-btn-cancel:hover {
    background: #e2e2e2;
}

.viph-btn-confirm {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
}

.viph-btn-confirm:hover {
    background: linear-gradient(to right, #5a67d8, #6b46c1);
    color: white;
}

.viph-gateway-selection {
    margin-top: 20px;
}

.viph-gateways-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.viph-payment-info {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.viph-payment-info p {
    margin: 10px 0;
    font-size: 16px;
}

.viph-dashboard {
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    padding: 2rem;
    border-radius: 10px;
    max-width: 700px;
    margin: 2rem auto;
    font-family: inherit;
    color: #333;
}

.viph-dashboard .viph-heading {
    font-size: 1.8rem;
    color: #0073aa;
    margin-bottom: 1rem;
}

.viph-dashboard .viph-status {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    margin-bottom: 1rem;
    text-align: center;
}

.viph-dashboard .viph-status.valid {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.viph-dashboard .viph-status.expired {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.viph-dashboard .viph-details h3,
.viph-dashboard .viph-payments-section h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.viph-dashboard .viph-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.viph-dashboard .viph-details ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #ddd;
}

.viph-dashboard .viph-details ul li strong {
    display: inline-block;
    width: 200px;
}

.viph-dashboard .viph-notice {
    padding: 1.2rem;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 6px;
}

.viph-dashboard .viph-notice a {
    color: #0073aa;
    text-decoration: underline;
}

.viph-payments-table-wrapper {
    overflow-x: auto;
    margin-top: 15px;
}

.viph-payments-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    font-size: 15px;
}

.viph-payments-table thead {
    background-color: #f4f4f4;
}

.viph-payments-table th,
.viph-payments-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .viph-payments-table {
        border: none;
    }

    .viph-payments-table thead {
        display: none;
    }

    .viph-payments-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        background: #fafafa;
    }


    .viph-payments-table td {
        display: block;
        padding: 10px;
        position: relative;
        padding: 3px 8px 3px 35%;
        border: none;

    }


    html[lang="fa-IR"] .viph-payments-table td {
        padding: 3px 35% 3px 8px;
    }


    .viph-payments-table td::before {
        font-weight: bold;
        content: attr(data-label);
        position: absolute;
        left: 10px;
        display: block;
        overflow: hidden;
        width: 32%;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    html[lang="fa-IR"] .viph-payments-table td::before {

        right: 10px;
        left: auto;
    }


}

.viph-payments-pagination {
    margin-top: 15px;
    text-align: center;
}

.viph-payments-pagination a.viph-page-btn {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    background: #eee;
    border-radius: 4px;
    text-decoration: none !important;
    color: #333;
    font-weight: bold;
    transition: background 0.2s ease;
}

.viph-payments-pagination a.viph-page-btn:hover {
    background: #ddd;
}

.viph-edd-price {
    text-decoration: line-through;
    font-size: 0.8em;
    opacity: 0.7;
}

.viph-promo-message {
    background-color: #f9f9f9;
    border-left: 5px solid #0073aa;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #333;
}

html[dir="rtl"] .viph-promo-message {
    border-left: none;
    border-right: 5px solid #0073aa;
}

.viph-promo-message a {
    color: #0073aa;
    font-weight: bold;
    text-decoration: none;
}

.viph-promo-message a:hover {
    text-decoration: underline;
}

#viph-footer-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #2d2d2d;
    color: #fff;
    z-index: 9999;
    font-family: inherit;
    padding: 12px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.viph-footer-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.viph-footer-msg {
    font-size: 15px;
}

.viph-footer-btn {
    background: #ffd700;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.viph-footer-btn:hover {
    background: #ffcc00;
    color: #000;
}

@media (max-width: 600px) {
    .viph-footer-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0 15px;
    }

    .viph-footer-msg {
        font-size: 14px;
        line-height: 1.6;
    }

    .viph-footer-btn {
        align-self: stretch;
        text-align: center;
        width: 100%;
        padding: 10px;
        font-size: 15px;
    }
}


/* woocommerce MyAccount icon */

/* .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--viph-member a::before {
    content: "\f313";
    font-family: Dashicons;
    margin-right: 6px;
}

html[lang="fa-IR"] .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--viph-member a::before {
    margin-left: 6px;
    margin-right: unset;
} */