#discount-code-container {
    display: flex;
    align-items: center;
}

#discount-code {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
    font-size: 16px;
    transition: border-color 0.3s;
    margin-right: 10px;
}

#discount-code:focus {
    border-color: #8e01ad;
    outline: none;
}

#validate-code {
    padding: 0px 20px;
    background-color: #9205a2;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#validate-code:hover {
    background-color: #86008b;
}

#result-message {
    color: rgb(112, 2, 124);
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    display: none;
    margin-left: 10px;
}

#discount-code::placeholder {
    color: #999;
}

#discount-code.error::placeholder {
    color: red;
}

input:disabled {
    background-color: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
}

/* Modern table styling */
.dc-modern-table {
    border-collapse: collapse;
    width: 100%;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 15px;
    background: #fff;
}

.dc-modern-table thead th {
    background: #438aca;
    color: #fff;
    font-weight: 600;
    padding: 12px 10px;
    border: 1px solid #eaeaea;
    text-align: left;
}

.dc-modern-table tbody td {
    border: 1px solid #eaeaea;
    padding: 10px 10px;
    color: #333;
}

.dc-modern-table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

.dc-modern-table tbody tr:nth-child(odd) {
    background: #fff;
}

.dc-modern-table tbody tr:hover {
    background: #e6f0fa;
    transition: background 0.2s;
}

.dc-modern-table .actions a.button {
    margin-right: 3px;
    font-size: 13px;
    padding: 2px 9px;
}

.dc-modern-pagination {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 20px 0 10px 0;
    font-family: inherit;
    font-size: 15px;
    justify-content: flex-end;
}

.dc-modern-pagination .page-link,
.dc-modern-pagination .page-btn {
    padding: 4px 12px;
    border: 1px solid #d1dbe7;
    background: #fff;
    color: #438aca;
    border-radius: 3px;
    cursor: pointer;
    min-width: 28px;
    text-align: center;
    transition: background .15s, color .15s;
    text-decoration: none;
    outline: none;
}

.dc-modern-pagination .page-link.active,
.dc-modern-pagination .page-btn.active {
    background: #438aca;
    color: #fff;
    border-color: #438aca;
    font-weight: bold;
    cursor: default;
}

.dc-modern-pagination .page-link:hover:not(.active),
.dc-modern-pagination .page-btn:hover:not(.active) {
    background: #e6f0fa;
}

/* Search/filter bar */
.dc-search-filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}
.dc-search-input {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    min-width: 180px;
}
.dc-filter-select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}