﻿/*Client Page*/
.modern-table {
    width: 100%;
    overflow-x: auto;
    padding: 0 20px 20px;
}
.modern-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.modern-table th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}
.modern-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #6b7280;
}
.modern-table tr:hover {
    background: #f9fafb;
}
.modern-table tr:last-child td {
    border-bottom: none;
}
/*────────────────────────────────────────*/
/* 1. Ensure button is positioned for pseudo-element */
button.bg-blue-600 {
    position: relative;
    overflow: hidden;
    /* promote to own layer for smoother transforms */
    transform: translateZ(0);
}

/*────────────────────────────────────────*/
/* 2. Shimmer slide via a skewed ::before */
button.bg-blue-600::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-25deg);
}
button.bg-blue-600:hover::before {
    animation: slide-shine 0.7s forwards ease-in-out;
}
@keyframes slide-shine {
    to { left: 125%; }
}

/*────────────────────────────────────────*/
/* 3. Bounce & scale on hover, plus color change */
button.bg-blue-600 {
    /* include transform in your transition */
    transition-property: background-color, transform;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
}
button.bg-blue-600:hover {
    animation: hover-bounce 0.6s ease-in-out both;
    background-color: #1d4ed8; /* your bg-blue-700 */
}
@keyframes hover-bounce {
    0%   { transform: scale(1) translateY(0); }
    30%  { transform: scale(1.05) translateY(-4px); }
    60%  { transform: scale(0.98) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}

/*────────────────────────────────────────*/
/* (Your existing utilities for reference) */
.bg-blue-600 {
    background-color: #2563eb;
}
.bg-blue-700 {
    background-color: #1d4ed8;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.transition-colors {
    transition-property: color, background-color, border-color, fill, stroke;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
    border: 0;
}
.font-medium {
    font-weight: 500;
}

