/* Stripe Subscriptions Plugin Styles */
.ssp-subscription-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.ssp-table-header {
    background-color: #f2f2f2;
    font-weight: bold;
    padding: 12px 15px;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.ssp-table-header.ssp-sort-asc::after {
    content: '\f142';
    font-family: 'dashicons';
    vertical-align: middle;
    margin-left: 5px;
}

.ssp-table-header.ssp-sort-desc::after {
    content: '\f140';
    font-family: 'dashicons';
    vertical-align: middle;
    margin-left: 5px;
}

.ssp-table-row {
    border-bottom: 1px solid #ddd;
}

.ssp-table-row:last-child {
    border-bottom: none;
}

.ssp-table-row-even {
    background-color: #f9f9f9;
}

.ssp-table-row-odd {
    background-color: #fff;
}

.ssp-table-cell {
    padding: 12px 15px;
}

/* User Profile Styles */
.ssp-user-subscriptions-wrap {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
}

.ssp-user-subscriptions-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.ssp-user-subscriptions-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.ssp-user-subscriptions-table th,
.ssp-user-subscriptions-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.ssp-user-subscriptions-table th {
    background-color: #f2f2f2;
}

.ssp-status {
    padding: 5px 10px;
    border-radius: 15px;
    color: #fff;
    font-weight: bold;
    text-transform: capitalize;
}

.ssp-status-active, .ssp-status-trialing {
    background-color: #28a745;
}

.ssp-status-past_due, .ssp-status-unpaid {
    background-color: #dc3545;
}

.ssp-status-canceled {
    background-color: #6c757d;
}

.ssp-manage-subscriptions-button {
    margin-top: 10px;
}

/* ==========================================================================
   My Subscriptions Shortcode Table
   ========================================================================== */

/* The main wrapper for the entire shortcode output */
.ssp-user-subscriptions-wrap {
    margin-top: 30px;
    padding: 0px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
}

/* Main container for the shortcode output */
.ssp-my-subscriptions-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid #ddd;
    background-color: #fff;
}

/* Table Header Row */
.ssp-my-subscriptions-header-row {
    background-color: #f2f2f2;
}

/* Table Header Cells */
.ssp-my-subscriptions-header-cell {
    padding: 12px 15px;
    font-weight: bold;
    text-align: left;
}

/* Table Body Rows */
.ssp-my-subscriptions-body-row {
    border-bottom: 1px solid #ddd;
}

.ssp-my-subscriptions-body-row:last-child {
    border-bottom: none;
}

/* Table Body Cells */
.ssp-my-subscriptions-body-cell {
    padding: 12px 15px;
	line-height:2em!important;
}

/* Error Notice for Admins */
.ssp-error-notice {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #dc3545;
    color: #721c24;
    background-color: #f8d7da;
    border-radius: 4px;
}

/* You can use this class to hide the error from regular users if needed */
/*
.ssp-user-facing-error {
    display: none;
}
*/
