/**
 * Renewal Form Styles
 */

.mfx-renewal-form {
    margin-bottom: 30px;
}

/* .back-button-container {
    margin-bottom: 20px;
}

.back-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.2s ease;
}

.back-button:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
    color: #000;
} */

.subscription-info {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.subscription-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.subscription-info p {
    margin-bottom: 5px;
    color: #555;
}

#selected_subscription_id {
    display: none;
}

#subscription-filters {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.filter-loading {
    padding: 10px;
    font-style: italic;
    color: #666;
}

/* .group-info {
    margin-bottom: 15px;
    font-weight: bold;
    padding: 5px 10px;
    background-color: #e7f4ff;
    border-radius: 3px;
    display: inline-block;
} */

.group-info {
    display: none;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h4 {
    margin-top: 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.matching-products {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.loading-variations {
    font-style: italic;
    color: #666;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.product-item {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.variation-checkbox {
    margin-right: 15px;
    margin-top: 10px;
    transform: scale(1.3);
}

.variation-label {
    flex: 1;
    cursor: pointer;
}

/* .product-type {
    display: inline-block;
    background-color: #f0f0f0;
    color: #333;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
} */
.product-type {
    display: none;
}

.product-item h5 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
}

/* .variation-name {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
} */

/* .price {
    font-weight: bold;
    font-size: 18px;
    color: #2c7a7b;
    margin-bottom: 15px;
} */

/* .attributes {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 13px;
} */
[class*="attr-item-location"] {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 13px;
}

/* .attributes li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #eee;
}

.attributes li:last-child {
    border-bottom: none;
}  */

[class*="attr-item-annual"] {
    display: none;
}

[class*="attr-item-plan"] {
    display: none;
}

[class*="attr-item-renewal"] {
    display: none;
}

.variation-name {
    display: none;
}

/* Style for auto-checked checkboxes (Type A products) */
.auto-checked {
    opacity: 0.3;
}

/* .add-to-cart-btn, #process-selected-variations {
    display: inline-block;
    background-color: #2c7a7b;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
} */

/* .add-to-cart-btn:hover, #process-selected-variations:hover {
    background-color: #1a5354;
    color: #fff;
} */

.total-section {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 18px;
    font-weight: bold;
}

/* .total-amount {
    color: #2c7a7b;
    font-size: 20px;
    margin-left: 5px;
} */

.total-items {
    color: #666;
    font-size: 14px;
}

#process-selected-variations {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
}

.error-message {
    color: #d63638;
    padding: 10px;
    background-color: #ffeeee;
    border-left: 4px solid #d63638;
}


.current-subscription-details {
    position: fixed;
    top: 20%; /* Adjust as needed */
    right: 5px; /* Adjust as needed */
    width: 250px; /* Set a width for better layout */
    margin-bottom: 30px;
    margin: 0; /* Remove margin since it's now positioned */
    padding: 5px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better visibility */
    z-index: 1000; /* Ensure it stays above other elements */
}


.current-subscription-details {
    margin-bottom: 30px;
}

.subscription-info {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 5px;
    margin-bottom: 5px;
}

.team-name {
    font-size: 1.5em;
    color: #2c3338;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.subscription-id {
    font-size: 1.1em;
    color: #515151;
    margin: 0;
}

.subscription-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: 500;
    margin: 0;
}

.subscription-status.active {
    background: #c6e1c6;
    color: #5b841b;
}

.subscription-status.on-hold {
    background: #f8dda7;
    color: #94660c;
}

.subscription-overview {
    background: #f8f9fa;
    padding: 5px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.subscription-overview p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 0.95em;
}

.subscription-overview .label {
    color: #515151;
    font-weight: 500;
}

.subscription-overview .value {
    color: #2c3338;
}

.subscription-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.subscription-items-table th,
.subscription-items-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.subscription-items-table thead th {
    background: #f8f9fa;
    font-weight: 500;
    color: #515151;
}

.subscription-items-table .product-name {
    width: 70%;
}

.subscription-items-table .product-total {
    text-align: right;
}

.subscription-items-table .product-quantity {
    color: #515151;
    margin-left: 5px;
}

.subscription-items-table dl.variation {
    margin: 5px 0 0;
    font-size: 0.9em;
    color: #767676;
}

.subscription-items-table dl.variation dt,
.subscription-items-table dl.variation dd {
    display: inline;
    margin: 0;
}

.subscription-items-table dl.variation dt {
    font-weight: 500;
    margin-right: 5px;
}

.subscription-items-table dl.variation dd {
    margin-right: 15px;
}

.subscription-items-table tfoot tr {
    background: #f8f9fa;
}

.subscription-items-table tfoot th,
.subscription-items-table tfoot td {
    font-weight: 500;
    color: #2c3338;
}

.subscription-items-table tfoot td {
    text-align: right;
}


