/* ========================================
   UAT / Swiss Style Dashboard (Off Hours)
   ======================================== */

/* Toggle Tabs Visibility */
body:not(.off-hours) #uat-tabs {
    display: none !important;
}

body.off-hours #prod-tabs {
    display: none !important;
}

body.off-hours #uat-tabs {
    display: flex !important;
    /* Ensure it picks up details-tabs styling from details-panel.css */
}

/* Hide PROD experience and columns in off-hours */
body.off-hours #experience-section,
body.off-hours .skills-column,
body.off-hours .soft-skills-column,
body.off-hours .tab-container {
    display: none !important;
}

/* Show UAT Content in off-hours */
body.off-hours #personal-section {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

#personal-section {
    display: none;
    width: 100%;
    /* No fixed height or overflow here - it flows within details-wrapper */
}

/* ========================================
   Content Area
   ======================================== */
.uat-display {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--pane-top-margin, 6.2rem) 0 5rem 0;
    min-height: 500px;
}

.uat-section-content {
    display: none;
    animation: fadeIn 0.6s ease forwards;
}

.uat-section-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.uat-header {
    margin-bottom: 3rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.uat-header h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
    color: var(--text-color);
    color: var(--text-color);
    line-height: 1;
}

.uat-display.swiss-big .uat-header,
.uat-display.swiss-big .col-title {
    display: none !important;
}

.uat-badge {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-text);
    border: none;
    background: transparent;
    padding: 0;
}

/* ========================================
   Bento Grid (Borderless)
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1.5rem;
}

.bento-card {
    background: var(--card-bg);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    border: none;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    background: rgba(var(--card-bg-rgb), 0.8);
}

/* Spans */
.span-1x1 { grid-column: span 1; grid-row: span 1; }
.span-2x1 { grid-column: span 2; grid-row: span 1; }
.span-1x2 { grid-column: span 1; grid-row: span 2; }
.span-2x2 { grid-column: span 2; grid-row: span 2; }
.span-full { grid-column: 1 / -1; }

/* Simple Card Styling */
.simple-card, .simple-card:hover {
    background: transparent !important;
    padding: 0;
    overflow: visible;
    transform: none !important;
    transition: none !important;
}

.card-img-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    height: auto;
}

.card-img-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Weekend Grid */
.weekend-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: min-content !important;
    max-width: 900px;
    margin: 2rem auto 6rem auto; /* Adjusted margins */
    gap: 2rem;
}

.centered-card {
    grid-column: 2 / 4;
}

.card-caption h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    font-style: italic;
    opacity: 0.9;
    font-family: serif;
    text-align: center;
    padding-top: 0.5rem;
}

/* ========================================
   SIMPLE BENTO CARDS (Latest Books)
   ======================================== */
.card-content {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content.centered {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bento-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.bento-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--secondary-text);
    line-height: 1.5;
    font-weight: 400;
}

.emoji-lg, .emoji-xl, .icon-box {
    filter: grayscale(100%);
    opacity: 0.8;
}

.emoji-lg { font-size: 2.5rem; margin-bottom: 1rem; }
.emoji-xl { font-size: 3.5rem; margin-bottom: 1rem; }
.icon-box { font-size: 2rem; margin-bottom: 1rem; }

.bg-gradient-1, .bg-gradient-2, .bg-tech, .bg-cooking, .bg-dark-accent, .bg-soft {
    background: var(--card-bg);
}

.tag-row {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.pill {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--secondary-text);
    background: transparent;
    border-radius: 0;
}

/* ========================================
   SIMPLE CULTURE GRID (Top 5)
   Two columns side by side
   ======================================== */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 700px;
}

.culture-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Column headers via pseudo-element */
.culture-col::before {
    content: "Movies";
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    display: block;
}

.culture-col:last-child::before {
    content: "TV Shows";
}

.culture-col .bento-card {
    height: 120px !important;
    min-height: unset;
}

.col-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* ========================================
   SIMPLE LIST LAYOUT
   ======================================== */
.list-group {
    display: flex;
    flex-direction: column;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.list-item:last-child {
    border-bottom: none;
}

.list-text {
    font-weight: 500;
    color: var(--text-color);
}

.list-date {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--secondary-text);
    opacity: 0.7;
}

/* ========================================
   SIMPLE BUCKET LIST (TO DO GO)
   ======================================== */
.bucket-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    max-width: 400px;
}

.bucket-card {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.bucket-card:last-child {
    border-bottom: none;
}

.bucket-card:hover {
    background: transparent;
    transform: none;
}

.square-check {
    width: 16px;
    height: 16px;
    border: 2px solid var(--secondary-text);
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
    opacity: 0.5;
}

.check-icon {
    width: 16px;
    height: 16px;
    border: 2px solid var(--text-color);
    border-radius: 2px;
    color: transparent;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bucket-item.done .check-icon {
    background: var(--text-color);
    color: var(--bg-color);
}

.bucket-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

.bucket-item.done .bucket-text {
    text-decoration: line-through;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .span-2x2, .span-2x1 { grid-column: span 2; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(180px, auto);
    }
    
    .span-1x1, .span-1x2, .span-2x1, .span-2x2 { grid-column: span 1; grid-row: span 1; }
    
    .split-grid { grid-template-columns: 1fr; }
    
    .bucket-card { width: 100%; }
}
