.simple-coins-system-container {
    font-family: sans-serif;
    max-width: 800px; /* Adjust as needed */
    margin: 20px auto;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.simple-coins-system-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Responsive Grid for Offers */
.coins-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.coins-offer-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
}

.coins-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.coins-offer-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #444;
    font-size: 1.4em;
}

.coins-info {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}

.coins-info .bonus-coins {
    color: #d63384; /* Accent color for bonus */
    font-weight: bold;
}

.offer-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #0073aa; /* WordPress blue */
    margin: 15px 0;
}

.offer-text {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
    margin-bottom: 20px;
    min-height: 30px; /* Ensure consistent height */
}

.request-purchase-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    background-color: #007c3a; /* WordPress green */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100%; /* Full width within the card */
    margin-top: auto; /* Pushes button to the bottom */
}

.request-purchase-btn:hover:not(:disabled) {
    background-color: #00517a;
    transform: translateY(-2px);
}

.request-purchase-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Coin History Styling */
.coins-history-list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.coins-history-list li {
    padding: 10px 5px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.95em;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.coins-history-list li:last-child {
    border-bottom: none;
}

.history-amount {
    font-weight: bold;
    min-width: 100px; /* Ensure amount has some space */
}

.history-amount.earned {
    color: #28a745; /* Green */
}

.history-amount.spent {
    color: #dc3545; /* Red */
}

.history-meta {
    flex-grow: 1; /* Take available space */
    margin: 0 10px;
    text-align: left;
}

.history-date {
    color: #777;
    font-size: 0.85em;
    white-space: nowrap; /* Prevent date from breaking */
}

/* Loading and Error Messages */
.coins-history-list li.loading,
.coins-history-list li.error {
    text-align: center;
    color: #888;
    font-style: italic;
}
.scs-message { /* For messages like "Please login..." */
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .simple-coins-system-container {
        padding: 20px;
    }
    .coins-offers-grid {
        grid-template-columns: 1fr; /* Stack cards vertically on tablets */
    }
    .coins-offer-card {
        padding: 20px;
    }
    .request-purchase-btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .coins-history-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .history-meta, .history-date {
        margin-top: 5px;
        margin-left: 0;
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .simple-coins-system-container h2 {
        font-size: 1.8em;
    }
    .coins-offer-card h3 {
        font-size: 1.2em;
    }
    .offer-price {
        font-size: 1.3em;
    }
    .request-purchase-btn {
        width: 100%;
    }
}

/* Admin Page Styles (Optional, can be moved to a separate admin CSS file) */
.wrap h1 {
    color: #32373c;
    margin-bottom: 20px;
}
.form-table th {
    width: 180px; /* Adjust label width */
    font-weight: bold;
    padding-top: 15px;
}
.form-table td {
    vertical-align: top;
}
.form-table .description {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}
.button-primary {
    background-color: #007c3a !important; /* WordPress green */
    border-color: #00517a !important;
    box-shadow: 0 0 0 1px #00517a inset !important;
    color: #fff !important;
}
.button-primary:hover {
    background-color: #00517a !important;
    border-color: #00517a !important;
}
.button-secondary {
    background-color: #f0f0f0 !important;
    border-color: #ccc !important;
    color: #333 !important;
}
.button-secondary:hover {
    background-color: #ddd !important;
}
.button-link-delete {
    color: #dc3545 !important; /* Red for delete */
    border: none !important;
    background: transparent !important;
    padding-left: 5px;
}
.button-link-delete:hover {
    color: #a71d2a !important;
}
.wp-list-table th {
    font-weight: bold;
}
.wp-list-table td, .wp-list-table th {
    padding: 10px;
}
.wp-list-table .column-actions {
    white-space: nowrap; /* Prevent actions from wrapping */
}
.wp-list-table .button-small {
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.5;
    margin-right: 5px;
}