*{
	box-sizing: border-box;
}

@media (min-width: 576px) {
    .cwp-container.cwp-plans-container{
        max-width: 540px !important;
    }
}

@media (min-width: 768px) {
    .cwp-container.cwp-plans-container{
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    .cwp-container.cwp-plans-container{
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {
    .cwp-container.cwp-plans-container{
        max-width: 1140px !important;
    }
}

.cwp-plans-container .cwp-col-md-4 {
    min-width: 300px;
}
.cwp-plan {
    border: #979797 1px solid;
    background-color: #fff;
    position: relative;
    padding: 40px;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
	margin-bottom: 30px;
}

.cwp-plan.cwp-hot-plan {
    border: 1px solid #007bff;
}

.cwp-plans-image {
    max-height: 250px;
    display: flex;
    justify-content: center;
}

.cwp-plans-image .plan-img {
    display: flex;
    align-items: end;
}

.cwp-plans-image .plan-img img {
    max-width: 100%;
}

.cwp-featured-plan {
    position: absolute;
    top: 26px;
    left: -66px;
    right: 0;
    width: 233px;
    text-align: center;
    background: #dc3545;
    transform: rotate(311deg);
    font-size: 20px;
    color: #fff;
    padding: 7px 0 8px 0;
    text-transform: capitalize;
    font-weight: 600;
}

.cwp-plan .cwp-plan-title-des h3.cwp-plan-title {
    font-size: 40px;
    font-weight: 700;
    color: #000;
    text-transform: capitalize;
	margin:0;
}

.cwp-plan .cwp-plan-title-des {
    padding: 13px 0;
}

.cwp-plan .cwp-plan-title-des p.cwp-plan-des {
    font-size: 16px;
	margin:0;
    color: #666666;
}

.cwp-plan-type-container {
    margin: 15px 0px 10px;
}

.cwp-plan .cwp-plan-type {
	padding: 5px;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
    border: 1px solid #007bff;
    border-radius: 12px;
}

.cwp-plan .cwp-plan-price-days {
    padding: 12px 0;
}

.cwp-plan .cwp-plan-price-days h2.cwp-plan-price {
    font-size: 60px;
    color: #007bff;
	margin:0;
    font-weight: 700;
}

.cwp-plan .cwp-plan-price-days h4.cwp-plan-days {
    font-size: 22px;
    font-weight: 500;
    color: #007bff;
	margin:0;
}

.cwp-plan-features ul.cwp-plan-options {
    list-style: none;
    padding: 8px 0;
    line-height: 35px;
    margin: 0;
}

.cwp-plan-features ul.cwp-plan-options li.cwp-plan-option {
	display: flex;
	align-items: center;
    font-size: 18px;
    color: #666666;
    text-transform: capitalize;
}

.cwp-plan-features ul.cwp-plan-options li.cwp-plan-option.disabled{
	color:#d1d1d1;
}

.cwp-plan .cwp-plan-features ul.cwp-plan-options li svg {
    margin-right: 5px;
}

.cwp-plan form {
    padding: 50px 0 0 0;
}

.cwp-plan form input.cwp-plan-submit {
    font-size: 18px;
    background: #007bff;
    color: #fff;
    text-transform: capitalize;
    border: none;
    outline: none;
    padding: 12px 0;
    width: 100%;
    border-radius: 5px;
	cursor:pointer;
}

.cwp-plan form input.cwp-plan-submit:hover {
	color: #fff;
	background-color: #363F48;
}

@media (min-width:768px) and (max-width:990px) {
    .cwp-plan {
        padding: 48px 10px;
    }
    .cwp-plans-image .plan-img {
        padding: 0 20px;
    }
}

/* All Packages dashboard section */
.cwp-packages-dashboard-section {
    margin-bottom: 24px;
}
.cwp-packages-section-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
}
.cwp-packages-tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}
.cwp-packages-tab-link {
    padding: 10px 20px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.cwp-packages-tab-link:hover {
    color: #007bff;
}
.cwp-packages-tab-link.active {
    color: #007bff;
    border-bottom-color: #007bff;
}
.cwp-packages-table .cwp-dashboard-list-head th {
    text-align: left;
    padding: 12px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: #333;
}
.cwp-packages-table tr td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.cwp-packages-table tr.cwp-package-row-load-hidden {
    display: none !important;
}

.cwp-packages-load-more-wrap {
    margin-top: 20px;
    text-align: center;
}

.cwp-packages-load-more-btn .cwp-packages-load-count {
    margin-left: 8px;
    font-weight: 400;
    opacity: 0.9;
}
.cwp-package-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cwp-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.cwp-status-dot-active {
    background-color: #28a745;
}
.cwp-status-dot-inactive {
    background-color: #6c757d;
}
.cwp-package-status-active {
    color: #28a745;
}
.cwp-package-status-inactive {
    color: #6c757d;
}
.cwp-packages-empty {
    padding: 40px 20px;
    text-align: center;
}

/* Change Plan popup (user dashboard) */
.cubewp-change-plan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cubewp-change-plan-popup {
    background: #fff;
    border-radius: 8px;
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.cubewp-change-plan-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.cubewp-change-plan-title {
    margin: 0;
    font-size: 1.25rem;
}
.cubewp-change-plan-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: #666;
}
.cubewp-change-plan-close:hover {
    color: #000;
    background-color: unset !important;
}
.cubewp-change-plan-popup-body {
    padding: 20px;
    overflow-y: auto;
}
.cubewp-change-plan-loading {
    padding: 20px;
    text-align: center;
    color: #666;
}
.cubewp-change-plan-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cubewp-change-plan-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
}
.cubewp-change-plan-row:hover,
.cubewp-change-plan-row:has(input:checked) {
    border-color: #2271b1;
    background: #f5f5f5;
}
.cubewp-change-plan-row input[type="radio"] {
    margin: 0;
}
.cubewp-change-plan-plan-title {
    flex: 1;
    font-weight: 500;
}
.cubewp-change-plan-plan-price {
    font-weight: 600;
    color: #2271b1;
}
.cubewp-change-plan-popup-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
}
.cubewp-change-plan-btn-choose-pay {
    width: 100%;
    padding: 12px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}
.cubewp-change-plan-btn-choose-pay:hover:not(:disabled) {
    background: #135e96;
}
.cubewp-change-plan-btn-choose-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.cubewp-change-plan-no-plans,
.cubewp-change-plan-error {
    margin: 0;
    padding: 12px;
    color: #666;
}
