html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}


:root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
   /* margin: 0;*/
    background: #0f172a;
    color: #e5e7eb;
    /*display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;*/
}

.container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

h1 {
    margin-bottom: 6px;
    font-size: 2rem;
}

p.subtitle {
    margin: 0 0 28px;
    color: #9ca3af;
    font-size: 0.95rem;
}

p.client-code {
    margin: 0 0 32px;
    color: #6b7280;
    font-size: 0.8rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

.tile {
    background: #1e293b;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #334155;
    transition: transform 0.18s, box-shadow 0.2s, border-color 0.18s;
}

    .tile:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
        border-color: #6b21a8;
    }

.tile-main-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tile img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.label {
    padding: 12px 12px 8px;
    background: #020617;
    border-top: 1px solid #334155;
    font-size: 0.98rem;
    text-align: left;
    color: darkblue;
}

.reset-link-wrap {
    padding: 0 12px 10px;
    background: #020617;
    text-align: left;
    border-top: 1px solid #111827;
}

.reset-link {
    font-size: 0.78rem;
    color: #a855f7;
    text-decoration: none;
}

    .reset-link:hover {
        text-decoration: underline;
    }

.footer {
    margin-top: 26px;
    font-size: 0.78rem;
    color: #64748b;
}

/* Bottom-left "Powered by" branding */
.branding {
    position: fixed;
    left: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 50;
}

.branding-text {
    font-size: 0.8rem;
    color: #9ca3af;
}

.branding img {
    height: 60px; /* adjust size here if you want */
    width: auto;
    max-width: 160px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

@media (max-width: 600px) {
    .branding {
        left: 10px;
        bottom: 10px;
    }
}