@charset "UTF-8";

/* =======================================
   tesco.css — Light theme
   ======================================= */

:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --accent: #00539f;
  --accent-light: #007dc5;
  --text: #1a1a1a;
  --muted: #6b7685;
  --border: #d5d9e2;
}

/* ===== Base ===== */
html, body {
  height: 100%;
  margin: 0;
  background-color: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
}

.tesco-body {
  display: flex;
  flex-direction: column;
  min-height: auto;
}

/* ===== Header ===== */
.tesco-header {
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.tesco-logo {
    height: 40px;        /* o 28px si sigue pareciendo grande */
    width: auto;         /* mantiene proporción */
    object-fit: contain; /* evita distorsión */
}

.tesco-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.user-name {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== Main ===== */
.tesco-main {
  flex: 1;
}

/* ===== Cards ===== */
.tesco-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: box-shadow .25s ease, transform .25s ease;
}

.tesco-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* ===== Buttons ===== */
.btn-tesco {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: .6rem 1.2rem;
  color: #fff;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}

.btn-tesco:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ===== Footer ===== */
.tesco-footer {
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #ffffffb3;
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  box-shadow: 0 -1px 6px rgba(0,0,0,0.03);
}

/* ===== Animación de entrada ===== */
@keyframes appear {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.tesco-card {
  animation: appear .4s ease-out both;
}


/* Highlight today's date */
.highlight-today {
    background-color: #f3ea95 !important; /* Yellow background, adjust color as needed */
    font-weight: bold;
    color: #000; /* Optional: change text color */
}

/* Optional: Add hover effect to emphasize the highlighted cell */
.highlight-today:hover {
    background-color: #FFC107; /* Slightly different background color on hover */
}

@media (max-width: 767px) {
    .card {
        border-radius: 14px;
        overflow: hidden;
    }

    .card-header {
        background: #f8f9fa;
        border-bottom: 1px solid #e3e6ea;
    }

    .card-footer {
        background: #f8f9fa;
        border-top: 1px solid #e3e6ea;
    }

    .list-group-item {
        padding: .5rem .75rem;
    }

    .btn-group .btn {
        padding: .3rem .55rem;
    }

    .highlight-today {
        background: #e9f5ff;
    }
}

