@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Yeon+Sung&display=swap');

:root {
    --pocha-orange: #e65100;
    --pocha-yellow: #ffb300;
    --pocha-dark: #1a1a1a;
    --tarp-pattern: repeating-linear-gradient(
        45deg,
        #e65100,
        #e65100 10px,
        #ef6c00 10px,
        #ef6c00 20px
    );
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    -webkit-font-smoothing: antialiased;
}

.font-hand {
    font-family: 'Yeon Sung', cursive;
}

/* UI Components */
.pocha-tarp {
    background: var(--tarp-pattern);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    border-bottom: 4px solid #b71c1c;
}

.tab-btn {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    opacity: 0.6;
}
.tab-btn.active {
    opacity: 1;
    border-bottom: 3px solid var(--pocha-yellow);
    color: var(--pocha-yellow);
    font-weight: bold;
}

.card {
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* FAB Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--pocha-yellow);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(255, 179, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 50;
    cursor: pointer;
    border: 2px solid #fff;
}
.fab:active {
    transform: scale(0.95);
}
.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.6);
}

/* Map Styling */
.seat {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #424242;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #aaa;
    border: 2px solid #555;
    transition: all 0.3s;
    position: relative;
}
.seat.occupied {
    background-color: var(--pocha-orange);
    color: white;
    border-color: var(--pocha-yellow);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(230, 81, 0, 0.5);
}
.table-rect {
    background-color: #5d4037;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d7ccc8;
    font-size: 0.8rem;
    border: 1px solid #3e2723;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.log-entry {
    animation: fadeIn 0.4s ease-out forwards;
}
.day-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--pocha-yellow);
    font-family: 'Yeon Sung', cursive;
    margin: 2rem 0 1rem 0;
    font-size: 1.2rem;
}
.day-divider::before, .day-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #555;
}
.day-divider::before {
    margin-right: .5em;
}
.day-divider::after {
    margin-left: .5em;
}

/* Data Management Area */
.data-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    transition-property: all;
    transition-duration: 200ms;
    border: 1px solid #57534e; /* border-stone-600 */
}
.data-btn:hover {
    border-color: #f97316; /* hover:border-orange-500 */
}

/* Staff Comment Styling */
.staff-log {
    background-color: #3e2723; /* Dark brown warmth */
    border: 1px dashed #8d6e63;
    color: #d7ccc8;
    font-family: 'Yeon Sung', cursive;
    position: relative;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.staff-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #8d6e63;
    font-size: 0.75rem;
    color: #a1887f;
    white-space: nowrap;
}