/**
 * Estilos del Frontend - Coffee Crew
 *
 * @package CoffeeCrew
 */

/* ===== Variables ===== */
:root {
    --cc-primary: #fe0000;
    --cc-secondary: #ff4d4d;
    --cc-success: #28a745;
    --cc-warning: #ffc107;
    --cc-danger: #dc3545;
    --cc-border-radius: 12px;
    --cc-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== Container (shortcodes antiguos) ===== */
.coffeecrew-frontend-dashboard,
.coffeecrew-frontend-scan,
.coffeecrew-frontend-history {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Nota: El nuevo shortcode [coffeecrew_cafeteria] usa .coffeecrew-cafeteria-wrapper que es fullwidth */

/* ===== User Info ===== */
.coffeecrew-user-info {
    background: white;
    padding: 15px 20px;
    border-radius: var(--cc-border-radius);
    box-shadow: var(--cc-box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.coffeecrew-user-info p {
    margin: 0;
    font-size: 16px;
}

.coffeecrew-logout-button {
    background: var(--cc-danger) !important;
    border-color: var(--cc-danger) !important;
    color: white !important;
}

/* ===== Login Form ===== */
.coffeecrew-login-form {
    max-width: 400px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: var(--cc-border-radius);
    box-shadow: var(--cc-box-shadow);
}

.coffeecrew-login-form h2 {
    text-align: center;
    color: var(--cc-primary);
    margin-top: 0;
}

.coffeecrew-login-help {
    text-align: center;
    margin-top: 15px;
}

/* ===== Welcome ===== */
.coffeecrew-welcome {
    text-align: center;
    margin-bottom: 30px;
}

.coffeecrew-welcome h2 {
    color: var(--cc-primary);
    margin-bottom: 10px;
}

/* ===== Stats Grid ===== */
.coffeecrew-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.coffeecrew-stat-card {
    background: white;
    padding: 25px;
    border-radius: var(--cc-border-radius);
    box-shadow: var(--cc-box-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.coffeecrew-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.coffeecrew-stat-card .stat-icon {
    font-size: 48px;
    margin-bottom: 10px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.coffeecrew-stat-card h3 {
    font-size: 36px;
    color: var(--cc-primary);
    margin: 10px 0;
}

.coffeecrew-stat-card p {
    color: #666;
    margin: 0;
}

.coffeecrew-stat-card .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.coffeecrew-stat-card .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--cc-primary);
    line-height: 1;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.coffeecrew-stat-card .stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.stat-value-small {
    font-size: 14px !important;
    color: var(--cc-secondary) !important;
    font-weight: 600;
}

/* ===== Quick Actions ===== */
.coffeecrew-quick-actions {
    background: white;
    padding: 25px;
    border-radius: var(--cc-border-radius);
    box-shadow: var(--cc-box-shadow);
    margin: 20px 0;
}

.coffeecrew-quick-actions h3 {
    color: var(--cc-primary);
    margin-top: 0;
}

.coffeecrew-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.coffeecrew-action-button {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-secondary));
    color: white !important;
    text-decoration: none !important;
    border-radius: var(--cc-border-radius);
    transition: transform 0.3s ease;
}

.coffeecrew-action-button:hover {
    transform: scale(1.05);
}

.coffeecrew-action-button .action-icon {
    font-size: 32px;
}

.coffeecrew-action-button .action-text {
    font-size: 18px;
    font-weight: 600;
}

/* ===== Scan Section ===== */
.coffeecrew-scan-section,
.coffeecrew-scan-header {
    background: white;
    padding: 25px;
    border-radius: var(--cc-border-radius);
    box-shadow: var(--cc-box-shadow);
    margin: 20px 0;
}

.coffeecrew-scan-header h2 {
    color: var(--cc-primary);
    margin-top: 0;
}

.coffeecrew-scan-container {
    padding: 20px 0;
}

.coffeecrew-scan-input {
    display: flex;
    gap: 10px;
    align-items: end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.coffeecrew-scan-input label {
    flex: 0 0 100%;
    font-weight: 600;
    color: var(--cc-primary);
    margin-bottom: 5px;
}

.coffeecrew-nfc-input {
    flex: 1;
    min-width: 250px;
    padding: 12px 15px;
    border: 2px solid var(--cc-secondary);
    border-radius: var(--cc-border-radius);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.coffeecrew-nfc-input:focus {
    outline: none;
    border-color: var(--cc-primary);
}

/* ===== Element Info ===== */
.coffeecrew-element-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--cc-border-radius);
    margin: 20px 0;
    border: 2px solid var(--cc-secondary);
}

.coffeecrew-element-info h3 {
    color: var(--cc-primary);
    margin-top: 0;
}

.element-details {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.element-details p {
    margin: 8px 0;
}

.element-progress {
    margin: 20px 0;
}

.element-progress h4 {
    color: var(--cc-primary);
}

.coffeecrew-progress-bar-big {
    position: relative;
    width: 100%;
    height: 40px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    margin: 15px 0;
}

.coffeecrew-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cc-primary), var(--cc-secondary));
    transition: width 0.5s ease;
}

.coffeecrew-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

.progress-info {
    text-align: center;
    color: #666;
    font-size: 14px;
}

.element-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.element-actions button {
    flex: 1;
    min-width: 150px;
}

/* ===== Messages ===== */
.coffeecrew-message {
    padding: 15px 20px;
    border-radius: var(--cc-border-radius);
    margin: 15px 0;
}

.coffeecrew-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.coffeecrew-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ===== Purchase Result ===== */
.coffeecrew-result-box {
    padding: 30px;
    border-radius: var(--cc-border-radius);
    text-align: center;
    margin: 20px 0;
}

.coffeecrew-result-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid var(--cc-success);
}

.coffeecrew-result-reward {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid var(--cc-warning);
}

.coffeecrew-result-box h3 {
    font-size: 28px;
    margin-top: 0;
    color: var(--cc-primary);
}

.reward-info {
    margin: 20px 0;
}

.reward-icon {
    font-size: 80px;
    margin: 10px 0;
}

.reward-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--cc-primary);
}

.reward-code {
    font-size: 18px;
    margin: 15px 0;
}

.reward-code code {
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--cc-primary);
    letter-spacing: 2px;
}

.reward-description {
    color: #666;
    font-size: 16px;
}

/* ===== History ===== */
.coffeecrew-history-table {
    background: white;
    padding: 20px;
    border-radius: var(--cc-border-radius);
    box-shadow: var(--cc-box-shadow);
    overflow-x: auto;
}

.coffeecrew-table {
    width: 100%;
    border-collapse: collapse;
}

.coffeecrew-table thead {
    background: var(--cc-primary);
    color: white;
}

.coffeecrew-table th,
.coffeecrew-table td {
    padding: 12px 15px;
    text-align: left;
}

.coffeecrew-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.coffeecrew-table tbody tr:hover {
    background: #f8f9fa;
}

.reward-badge {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--cc-primary), var(--cc-secondary));
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* ===== Badges ===== */
.coffeecrew-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.coffeecrew-badge-active {
    background: #d4edda;
    color: #155724;
}

.coffeecrew-badge-purchase {
    background: #d1ecf1;
    color: #0c5460;
}

.coffeecrew-badge-reward_normal {
    background: #d4edda;
    color: #155724;
}

.coffeecrew-badge-reward_premium {
    background: #fff3cd;
    color: #856404;
}

/* ===== Empty State ===== */
.coffeecrew-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.coffeecrew-empty-state p {
    font-size: 18px;
    margin: 10px 0;
}

/* ===== Pagination ===== */
.coffeecrew-pagination {
    text-align: center;
    margin: 30px 0;
}

.coffeecrew-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: var(--cc-primary);
}

.coffeecrew-pagination .page-numbers.current {
    background: var(--cc-primary);
    color: white;
    border-color: var(--cc-primary);
}

.coffeecrew-pagination .page-numbers:hover {
    background: var(--cc-secondary);
    color: white;
    border-color: var(--cc-secondary);
}

/* ===== Access Denied ===== */
.coffeecrew-access-denied {
    background: #fff3cd;
    border: 2px solid var(--cc-warning);
    padding: 30px;
    border-radius: var(--cc-border-radius);
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
}

.coffeecrew-access-denied h3 {
    color: #856404;
    margin-top: 0;
}

/* ===== Scan Help ===== */
.coffeecrew-scan-help {
    background: #e7f3ff;
    padding: 20px;
    border-radius: var(--cc-border-radius);
    margin: 20px 0;
}

.coffeecrew-scan-help h3 {
    color: var(--cc-primary);
    margin-top: 0;
}

.coffeecrew-scan-help ol {
    margin: 10px 0;
    padding-left: 20px;
}

.coffeecrew-scan-help li {
    margin: 8px 0;
    line-height: 1.6;
}

/* ===== Auto Scan Notice ===== */
.coffeecrew-auto-scan-notice {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid var(--cc-success);
    padding: 20px;
    border-radius: var(--cc-border-radius);
    margin: 20px 0;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.coffeecrew-auto-scan-notice .info-message {
    font-size: 18px;
    font-weight: 600;
    color: #155724;
    margin: 0;
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
    .coffeecrew-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .coffeecrew-action-buttons {
        flex-direction: column;
    }
    
    .coffeecrew-action-button {
        min-width: 100%;
    }
    
    .coffeecrew-scan-input {
        flex-direction: column;
    }
    
    .coffeecrew-nfc-input {
        width: 100%;
    }
    
    .element-actions {
        flex-direction: column;
    }
    
    .element-actions button {
        width: 100%;
    }
    
    .coffeecrew-table {
        font-size: 14px;
    }
    
    .coffeecrew-table thead {
        display: none;
    }
    
    .coffeecrew-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
    
    .coffeecrew-table td {
        display: block;
        text-align: right;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }
    
    .coffeecrew-table td:last-child {
        border-bottom: none;
    }
    
    .coffeecrew-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: var(--cc-primary);
    }
    
    .coffeecrew-user-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.coffeecrew-element-info,
.coffeecrew-purchase-result {
    animation: fadeIn 0.4s ease;
}

.coffeecrew-stat-card {
    animation: slideIn 0.3s ease;
}

/* ===== Shortcode Cafetería (Dashboard + Historial Unificado) ===== */
.coffeecrew-cafeteria-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Asegurar que el body no tenga scroll horizontal */
body:has(.coffeecrew-cafeteria-wrapper) {
    overflow-x: hidden;
}

/* Sección de bienvenida */
.coffeecrew-welcome-section {
    background: #000000;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 0;
}

.coffeecrew-welcome-section .welcome-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
}

.coffeecrew-welcome-section .welcome-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
}

/* Aviso de renovación */
.coffeecrew-renewal-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 3px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    margin: 30px auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    animation: pulseWarning 2s ease-in-out infinite;
}

@keyframes pulseWarning {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    }
}

.coffeecrew-renewal-notice .renewal-icon {
    font-size: 64px;
    line-height: 1;
    flex-shrink: 0;
}

.coffeecrew-renewal-notice .renewal-content {
    flex: 1;
}

.coffeecrew-renewal-notice .renewal-title {
    color: #856404;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.coffeecrew-renewal-notice .renewal-message {
    color: #856404;
    font-size: 16px;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.coffeecrew-renewal-notice .renewal-button {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.coffeecrew-renewal-notice .renewal-button:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea57e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.coffeecrew-renewal-notice .renewal-contact {
    color: #856404;
    font-size: 14px;
    margin: 0;
    font-style: italic;
}

/* Responsive para aviso de renovación */
@media (max-width: 768px) {
    .coffeecrew-renewal-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin: 20px 15px;
    }
    
    .coffeecrew-renewal-notice .renewal-icon {
        font-size: 48px;
    }
    
    .coffeecrew-renewal-notice .renewal-title {
        font-size: 20px;
    }
    
    .coffeecrew-renewal-notice .renewal-message {
        font-size: 14px;
    }
    
    .coffeecrew-renewal-notice .renewal-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Sección de estadísticas */
.coffeecrew-stats-section {
    background: #f8f9fa;
    padding: 40px 20px;
    width: 100%;
    margin-bottom: 0;
}

.coffeecrew-stats-section h2 {
    max-width: 1400px;
    margin: 0 auto 30px;
    color: var(--cc-primary);
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--cc-primary);
}

.coffeecrew-stats-section .coffeecrew-stats-grid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Sección de historial */
.coffeecrew-history-section {
    background: white;
    padding: 40px 20px;
    width: 100%;
}

.coffeecrew-history-section h2 {
    max-width: 1400px;
    margin: 0 auto 30px;
    color: var(--cc-primary);
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--cc-primary);
}

.coffeecrew-history-section .coffeecrew-table-controls,
.coffeecrew-history-section .coffeecrew-table-responsive,
.coffeecrew-history-section .coffeecrew-pagination,
.coffeecrew-history-section .coffeecrew-empty-state {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Controles de tabla */
.coffeecrew-table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.control-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-left label {
    font-weight: 600;
    margin: 0;
}

.control-left select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.control-left select:hover {
    border-color: var(--cc-primary);
}

.control-text {
    color: #666;
    font-size: 14px;
}

.control-right {
    color: #666;
    font-size: 14px;
}

.results-info {
    font-weight: 600;
}

/* Tabla responsive */
.coffeecrew-table-responsive {
    overflow-x: auto;
    margin-bottom: 20px;
}

.coffeecrew-table-sortable {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.coffeecrew-table-sortable thead {
    background: linear-gradient(135deg, #fe0000, #ff3333);
    color: white;
}

.coffeecrew-table-sortable th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    position: relative;
    user-select: none;
}

.coffeecrew-table-sortable th.sortable {
    cursor: pointer;
    transition: background 0.2s;
}

.coffeecrew-table-sortable th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.coffeecrew-table-sortable th.sortable span {
    margin-right: 5px;
}

.coffeecrew-table-sortable .sort-icon {
    display: inline-block;
    opacity: 0.5;
    font-size: 12px;
    margin-left: 5px;
}

.coffeecrew-table-sortable .sort-icon.active {
    opacity: 1;
    color: #ffd700;
}

.coffeecrew-table-sortable tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.coffeecrew-table-sortable tbody tr:hover {
    background: #f8f9fa;
}

.coffeecrew-table-sortable td {
    padding: 15px;
}

/* Paginación */
.coffeecrew-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
}

.coffeecrew-pagination .page-link {
    display: inline-block;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: var(--cc-primary);
    text-decoration: none;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
}

.coffeecrew-pagination .page-link:hover {
    background: var(--cc-primary);
    color: white;
    border-color: var(--cc-primary);
}

.coffeecrew-pagination .page-link.active {
    background: var(--cc-primary);
    color: white;
    border-color: var(--cc-primary);
    font-weight: 600;
}

/* Empty state */
.coffeecrew-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.coffeecrew-empty-state .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.coffeecrew-empty-state h3 {
    color: #333;
    margin-bottom: 10px;
}

.coffeecrew-empty-state p {
    color: #666;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .coffeecrew-stats-section .coffeecrew-stats-grid,
    .coffeecrew-history-section h2,
    .coffeecrew-history-section .coffeecrew-table-controls,
    .coffeecrew-history-section .coffeecrew-table-responsive,
    .coffeecrew-history-section .coffeecrew-pagination {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .coffeecrew-welcome-section {
        padding: 30px 20px;
    }
    
    .coffeecrew-welcome-section .welcome-title {
        font-size: 24px;
    }
    
    .coffeecrew-welcome-section .welcome-subtitle {
        font-size: 16px;
    }
    
    .coffeecrew-stats-section {
        padding: 30px 15px;
    }
    
    .coffeecrew-stats-section h2 {
        font-size: 22px;
        padding: 0 15px;
    }
    
    .coffeecrew-history-section {
        padding: 30px 15px;
    }
    
    .coffeecrew-history-section h2 {
        font-size: 22px;
        padding: 0 15px;
    }
    
    .coffeecrew-table-controls {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .control-right {
        width: 100%;
        text-align: center;
    }
    
    .coffeecrew-table-sortable {
        font-size: 14px;
    }
    
    .coffeecrew-table-sortable th,
    .coffeecrew-table-sortable td {
        padding: 10px 8px;
    }
    
    .coffeecrew-table-sortable thead {
        display: none;
    }
    
    .coffeecrew-table-sortable tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
    }
    
    .coffeecrew-table-sortable td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
    }
    
    .coffeecrew-table-sortable td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--cc-primary);
    }
}

