/*
Theme Name:   GREY Capital
Description:  Mesmerize PRO Child Theme
Author:       nikoala
Author URI:   https://nikoala
Template:     mesmerize-pro
Version:      1.0
Text Domain:  mesmerize-child
*/

/* Free and Premium Badge */
.badge {
    display: inline-block;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px;
    color: #fff;
    line-height: 24px;
    vertical-align: middle;
}
.badge-free {
    background-color: #e0e0e0;
    color: #000;
}
.badge-premium {
    background-color: #DD9932;
    color: #fff;
}

/* Custom Post Type Lists */
.custom-post-thumbnail img {
    max-width: unset;
    height: unset;
}

.custom-post-list {
    list-style: none;
    padding: 0;
    margin-left: 0;
}

.custom-post-list-item {
    margin-bottom: 1em;
    padding: 1em;
    overflow: hidden;
}

.custom-post-thumbnail img {
    border: 1px solid #ddd;
}

.custom-post-title {
    margin: 0 0 5px;
}

.custom-post-excerpt {
    margin: 0;
}

/* Trade Tracker Styles */
.trade-tracker-container {
    margin: 2em 0;
    overflow-x: auto;
}

.trade-tracker-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.trade-tracker-table thead {
    background-color: #f5f5f5;
}

.trade-tracker-table th,
.trade-tracker-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.trade-tracker-table tbody tr:hover {
    background-color: #f9f9f9;
}

.trade-tracker-table .action-column {
    font-weight: bold;
}

.trade-buy .action-column {
    color: #28a745;
}

.trade-sell .action-column {
    color: #dc3545;
}

@media screen and (max-width: 600px) {
    .trade-tracker-table {
        font-size: 0.8em;
    }
    
    .trade-tracker-table th,
    .trade-tracker-table td {
        padding: 8px 10px;
    }
}

/* Subscription status indicators */
.subscription-status {
    font-size: 0.85em;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
}

.subscription-status.past-due {
    color: #e65100;
    background-color: #fff3e0;
}

.subscription-status.incomplete {
    color: #6a1b9a;
    background-color: #f3e5f5;
}

.subscription-status.trial {
    color: #1565c0;
    background-color: #e3f2fd;
}
