.rcm-codes-box {
        border: 2px solid #3b82f6;
        background: #f0f9ff;
        padding: 20px;
        
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        margin: 20px auto;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(59,130,246,0.15);
    }
    .rcm-codes-box h3 {
        color: #1e40af;
        font-size: 1.6em;
        border-bottom: 2px solid #3b82f6;
        padding-bottom: 8px;
        margin-bottom: 20px;
    }
    .rcm-table-header, .rcm-code-item {
        display: flex;
        justify-content: space-between;
        font-weight: 600;
        padding: 8px 0;
        border-bottom: 1px solid #dbeafe;
    }
    .rcm-code-item {
        font-weight: normal;
        align-items: center;
    }
    .rcm-code-item.recent {
        background: #d1fae5;
    }
    .rcm-col-code { flex: 1 1 20%; color: #1e3a8a; word-break: break-word; }
    .rcm-col-copy { flex: 1 1 10%; font-size: 0.85em; text-align: center; }
    .rcm-col-reward { flex: 1 1 60%; font-size: 0.85em; color: #2563eb; text-align: center; }
    .rcm-col-date { flex: 1 1 10%; font-size: 0.85em; color: #6b7280; text-align: right; font-style: italic; }

    .rcm-copy-btn {
        cursor: pointer;
        background: #2563eb;
        border: none;
        color: white;
        padding: 6px 14px;
        border-radius: 6px;
        font-size: 0.9em;
        transition: background 0.3s ease;
    }
    .rcm-copy-btn:hover {
        background: #1e40af;
    }

    .rcm-expired-section {
        margin-top: 30px;
    }
    .rcm-expired-toggle {
        cursor: pointer;
        font-weight: 600;
        color: #2563eb;
        margin-bottom: 10px;
        display: inline-block;
        border-bottom: 1px dashed #2563eb;
    }
    .rcm-expired-list {
        display: none;
        margin-top: 10px;
    }
    .rcm-expired-item {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px dotted #a5b4fc;
        padding: 6px 0;
        font-size: 0.95em;
    }
    .rcm-expired-code {
        flex: 1 1 70%;
        color: #1e3a8a;
        word-break: break-word;
    }
    .rcm-expired-date {
        flex: 1 1 30%;
        text-align: right;
        font-style: italic;
        color: #6b7280;
    }

   @media (max-width: 600px) {
    .rcm-table-header,
    .rcm-code-item,
    .rcm-expired-item {
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid #dbeafe;
        border-radius: 6px;
        margin-bottom: 12px;
        padding: 12px;
        background: #f9fafb;
    }

    .rcm-table-header {
        display: none;
    }

    .rcm-col-code,
    .rcm-col-copy,
    .rcm-col-reward,
    .rcm-col-date,
    .rcm-expired-code,
    .rcm-expired-date {
        flex: 1 1 100%;
        padding: 6px 0;
        text-align: left !important;
        word-break: break-word;
    }

    .rcm-copy-btn {
        margin-top: 6px;
        width: 100%;
        text-align: center;
    }
}
 .rcm-code-row {
            margin-bottom: 8px;
        }
        .rcm-code-row input {
            margin-right: 5px;
            min-width: 100px;
        }
        .rcm-code-row input[type="date"] {
            max-width: 140px;
        }