/* Modern Jazz Club Design for Performers Database */

:root {
    /* Color Palette */
    --primary-color: #1a1a2e;
    /* Dark Navy */
    --secondary-color: #16213e;
    /* Slightly lighter navy */
    --accent-color: #e94560;
    /* Vibrant Red/Pink for highlights */
    --text-main: #333333;
    --text-light: #666666;
    --text-on-dark: #ffffff;
    --bg-light: #f8f9fa;
    --card-bg: #ffffff;

    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);

    /* Spacing */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

.pubhpp-atm-container {
    max-width: 900px;
    margin: 60px auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

/* Keypad Section */
.pubhpp-keypad {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-bottom: 50px;
    border: 1px solid #eee;
}

.pubhpp-row {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pubhpp-key {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.pubhpp-key::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 0;
}

.pubhpp-key span {
    position: relative;
    z-index: 1;
}

.pubhpp-key:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.pubhpp-key.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.pubhpp-key-spacer {
    width: 60px;
    height: 60px;
}

/* Performers List Section */
.pubhpp-performers-list {
    margin-bottom: 50px;
    animation: fadeIn 0.6s ease-out;
}

.pubhpp-performers-list h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    letter-spacing: 0.05em;
}

.pubhpp-performers-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.pubhpp-performers-list li a {
    display: block;
    padding: 18px 24px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pubhpp-performers-list li a:hover,
.pubhpp-performers-list li a.active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(233, 69, 96, 0.2);
}

.pubhpp-performers-list li a .name {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.pubhpp-performers-list li a .yomi {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Performance History Section */
.pubhpp-performance-history {
    background: var(--card-bg);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    animation: slideUp 0.6s ease-out;
    border-top: 4px solid var(--primary-color);
}

.pubhpp-performance-history h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
}

.pubhpp-performance-history table {
    width: 100%;
    border-collapse: collapse;
}

.pubhpp-performance-history th {
    background: #f1f3f5;
    color: var(--text-light);
    font-weight: 600;
    padding: 16px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.pubhpp-performance-history td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    color: var(--text-main);
}

.pubhpp-performance-history tr:last-child td {
    border-bottom: none;
}

.pubhpp-performance-history tr:hover td {
    background-color: #fafafa;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .pubhpp-atm-container {
        padding: 20px;
        margin: 20px auto;
    }

    .pubhpp-key {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .pubhpp-key-spacer {
        width: 45px;
        height: 45px;
    }

    .pubhpp-row {
        gap: 6px;
    }

    .pubhpp-performers-list ul {
        grid-template-columns: 1fr;
    }

    .pubhpp-performance-history {
        padding: 20px;
    }

    .pubhpp-performance-history th,
    .pubhpp-performance-history td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}