﻿body {
    font-family: 'Segoe UI', 'sans-serif' !important;
    color: black !important;
    font-size: 16px !important;
    height: 100%;
    margin: 0;
}

.cm-content {
    min-height: 100%;
    margin-bottom: 20px;
}

.cm-top-nav-bar {
    background-color: #1a2e5a !important;
    margin-bottom: 0px;
    border: 0px;
    height:48px;
    border-radius: 0;
}

.cm-menu-bar {
    background-color: #F9F9F9 !important;
    margin-top: -168px;
}

.cm-signin {
    color: #ffffff !important;
    font-size: 16px;
    vertical-align: middle;
    margin-top: 20px;
}

.cm-username {
    border-right: solid 1px white;
    padding-right: 6px;
}

.cm-logout {
    vertical-align: middle;
    padding-left: 2px;
}

.placeholder {
    width: 160px !important;
}

.text-white {
    color: white !important;
}

.cm-menu-item {
    color: black !important;
    padding: 0px !important;
}

.cm-menu-item-active {
    background-color: #D0CCCC;
}

.cm-logo {
    /*border-style: none;
    width: auto;
    padding: 8px;
    
    width: 30%;*/
    border-style: none;
    width: auto;
    margin-left: -10px;
    padding: 8px;
    max-height: 50px;
}

.cm-panel-default {
    background: #F9F9F9 !important;
    border-radius: 0px;
    padding: 20px;
}

.cm-section-heading {
    font-family: 'Segoe UI', 'sans-serif' !important;
    font-size: 25px;
    background-color: #fff;
    border-bottom: 4px solid #FF6B35;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 40px;
    color: black;
}

.p10 {
    padding: 10px;
}

.w286 {
    width: 286px;
}

.w120 {
    width: 120px;
}

.w200 {
    width: 200px;
}

.mr250 {
    margin-right: 250px;
}

.mt100 {
    margin-top: 100px;
}

.mt200 {
    margin-top: 200px;
}

.mt20 {
    margin-top: 20px;
}

.mt40 {
    margin-top: 40px;
}

.cm-button-default {
    color: #fff !important;
    background-color: #FF6B35;
    border-color: #FF6B35;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-default:hover {
        background-color: #5CA4D9;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #ffffff;
    }

.cm-button-error {
    color: #fff;
    background-color: #1a2e5a !important;
    border-color: #1a2e5a;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-error:hover {
        background-color: #EAE7E7 !important;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #1a2e5a;
    }

.cm-button-success {
    color: #fff;
    background-color: #256525;
    border-color: #2e6da4;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-success:hover {
        background-color: #EAE7E7;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #1a2e5a;
    }

.cm-button-danger {
    color: #fff;
    background-color: #EA2333;
    border-color: #2e6da4;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 25px;
    margin-bottom: 20px;
}

    .cm-button-danger:hover {
        background-color: #EAE7E7;
        border-radius: 5px;
        padding: 12px 20px;
        font-size: 18px;
        font-weight: bold;
        color: #1a2e5a;
    }

.cm-table {
    background: #ffffff !important;
    font-size: 16px;
}

    .cm-table th {
        padding: 10px !important;
    }

    .cm-table td {
        padding: 10px !important;
    }

.cm-table-head th {
    text-align: center;
    background: #F9F9F9 !important;
    font-size: 14px;
}

.cm-ellipsis {
    text-align: center !important;
}

    .cm-ellipsis a {
        color: black !important;
    }

.cm-minus-circle {
    text-align: center;
}

    .cm-minus-circle a {
        color: black !important;
    }

.cm-link-button {
    cursor: pointer;
}

    .cm-link-button:hover {
        cursor: pointer;
        color: #FF6B35 !important;
    }

/*.cm-footer {
    background-color: #F9F9F9;
    position: absolute !important
}*/

.cm-container {
    margin-left: 80px;
}

.cm-footer, .cm-push {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #E6E6E6;
    font-size: 12px !important;
    color: black !important;
    height: 20px;
    line-height: 20px;
}

a.cm-dropdown-option {
    background: transparent !important;
    color: black;
    cursor: pointer;
}

    a.cm-dropdown-option:hover {
        background: transparent !important;
        color: #FF6B35 !important;
        cursor: pointer;
    }

.mrtop {
    margin-top: 25px !important;
}

.maxwidth {
    width: 1300px !important;
}


.mr420 {
    margin-right: !important;
}
.red-star {
    color: #FF6B35;
}

/* Modern Subscription Styles */
.cm-subscription-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 32px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

.cm-subscription-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cm-subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F9F9F9;
}

.cm-subscription-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a2e5a;
    margin-bottom: 8px;
}

.cm-subscription-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.cm-status-subscribed {
    background-color: #d4edda;
    color: #155724;
}

.cm-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.cm-status-unsubscribed {
    background-color: #f8d7da;
    color: #721c24;
}

.cm-subscription-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.cm-detail-item {
    display: flex;
    flex-direction: column;
}

.cm-detail-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cm-detail-value {
    font-size: 16px;
    color: #1a2e5a;
    font-weight: 500;
}

.cm-subscription-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cm-action-button {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cm-action-primary {
    background-color: #FF6B35;
    color: #fff;
}

.cm-action-primary:hover {
    background-color: #e55a28;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.cm-action-secondary {
    background-color: #5CA4D9;
    color: #fff;
}

.cm-action-secondary:hover {
    background-color: #4a8fc7;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(92, 164, 217, 0.3);
}

.cm-action-outline {
    background-color: transparent;
    color: #1a2e5a;
    border: 2px solid #1a2e5a;
}

.cm-action-outline:hover {
    background-color: #1a2e5a;
    color: #fff;
    transform: translateY(-2px);
}

/* Modern Table Styles for Multiple Subscriptions */
.cm-modern-table {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cm-modern-table table {
    margin-bottom: 0;
}

.cm-modern-table thead th {
    background: #1a2e5a !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 12px !important;
    border: none !important;
}

.cm-modern-table tbody td {
    padding: 16px 12px !important;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0 !important;
}

.cm-modern-table tbody tr:last-child td {
    border-bottom: none !important;
}

.cm-modern-table tbody tr:hover {
    background-color: #f8f9fa;
}

.cm-modern-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.cm-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cm-empty-state-icon {
    font-size: 64px;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.cm-empty-state-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a2e5a;
    margin-bottom: 12px;
}

.cm-empty-state-text {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 24px;
}

.cm-empty-state-button {
    display: inline-block;
    padding: 12px 32px;
    background-color: #FF6B35;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cm-empty-state-button:hover {
    background-color: #e55a28;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cm-subscription-grid {
        grid-template-columns: 1fr;
    }

    .cm-subscription-header {
        flex-direction: column;
        gap: 16px;
    }

    .cm-subscription-details {
        grid-template-columns: 1fr;
    }

    .cm-subscription-actions {
        flex-direction: column;
    }

    .cm-action-button {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .cm-subscription-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}