﻿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;
}

/* === Aleh Aleh Printing Stickers - Modern Header === */

.app-navbar {
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid #e5e7eb;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.app-navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.app-navbar-brand-main {
    font-weight: 600;
    font-size: 1.1rem;
    color: #111827;
}

.app-navbar-brand-sub {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.app-nav-links .app-nav-link {
    font-size: 0.95rem;
    color: #374151 !important;
}

    .app-nav-links .app-nav-link:hover {
        color: #111827 !important;
    }

.app-nav-link-muted {
    font-size: 0.9rem;
    color: #9ca3af !important;
    cursor: default;
}

.app-user-area {
    font-size: 0.85rem;
}

.app-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.1;
}

.app-user-name {
    color: #111827;
}

.app-user-role {
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.app-logout-btn,
.app-login-btn {
    border-radius: 999px;
    padding-inline: 1.1rem;
}

/* מרווח עדין בתוכן */
.app-main-container {
    margin-top: 1.2rem;
}

.app-footer {
    margin-top: 1.5rem;
}
/* === Dashboard styling for Aleh Aleh Printing Stickers === */

.dashboard-header {
    margin-bottom: 1.5rem;
}

.dashboard-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.1rem;
}

.dashboard-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 0;
}

.dashboard-grid {
    margin-top: 0.25rem;
}

/* כרטיסי דשבורד */
.dashboard-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

    .dashboard-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
        border-color: #d1d5db;
    }

.dashboard-card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.dashboard-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.dashboard-card-text {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.dashboard-card-tag {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 500;
}

/* === Printing screen (USER) === */

.print-layout {
    max-width: 720px;
    margin: 0 auto;
}

.print-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.print-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.print-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.2rem;
}

.print-field {
    margin-bottom: 0.5rem;
}

.print-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.print-input {
    height: 46px;
    font-size: 0.95rem;
}

    .print-input::placeholder {
        color: #9ca3af;
    }

.print-help {
    font-size: 0.8rem;
    color: #9ca3af;
}

.print-summary {
    border-radius: 10px;
    border: 1px dashed #d1d5db;
    background-color: #f9fafb;
}

.print-summary-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.print-summary-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
}

.print-main-button {
    font-size: 1rem;
    font-weight: 500;
    padding-block: 0.6rem;
    border-radius: 999px;
}
/* סימון ✔ ירוק ליד שדות תקינים במסך ההדפסה */
.field-status-icon {
    font-size: 1.1rem;
}

.field-status-icon-success {
    color: #16a34a; /* ירוק נעים */
}
.field-status-icon-error {
    color: #dc2626; /* אדום נעים */
}
/* === Success banner after simulated printing === */

.print-success-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background-color: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.print-success-icon {
    font-size: 1.4rem;
    font-weight: bold;
}

.print-success-text {
    font-size: 0.95rem;
}
.print-success-text-bold {
    font-weight: 600;
}
/* === Admin page layout === */

.admin-page {
    max-width: 1200px;
    margin: 0 auto;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.admin-page-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0;
}

.admin-page-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-form-card,
.admin-table-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* טבלת משתמשים */

.admin-table-wrapper {
    max-height: 480px;
    overflow: auto;
}

.admin-table-search {
    width: 220px;
}

/* כפתורים קטנים מאוד */

.btn-xs {
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
    line-height: 1.2;
}

/* Badges */

.badge-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
}

.badge-role {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.55rem;
}

/* מאפשר לכרטיס להיות לחיץ כולו */
.dashboard-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .dashboard-card-link .dashboard-card {
        transition: all 0.18s ease-in-out;
        cursor: pointer;
    }

        .dashboard-card-link .dashboard-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 18px rgba(0,0,0,0.08);
        }

/* תג OPEN */
.dashboard-card-tag-primary {
    background-color: #e0edff;
    color: #1e4db7;
    font-weight: 600;
}

/* Role text בתא הטבלה */
.role-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

/* Status dot + text */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-right: 4px;
    vertical-align: middle;
}

.status-dot-active {
    background-color: #16a34a; /* ירוק */
}

.status-dot-inactive {
    background-color: #dc2626; /* אדום */
}

.status-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #111827;
}

/* כפתור ⋮ */
.action-menu-btn {
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    color: #374151;
    transition: 0.15s;
}

    .action-menu-btn:hover {
        background-color: #f1f5f9;
        border-color: #d1d5db;
    }

/* dropdown custom */
.action-menu {
    min-width: 140px;
    border-radius: 10px;
    padding: 4px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

    .action-menu .dropdown-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

        .action-menu .dropdown-item:hover {
            background-color: #f3f4f6;
        }
.login-forgot-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    background-color: #e0f2fe; /* כחול בהיר */
    border: 1px solid #bae6fd;
    color: #0f172a;
}
.print-input-lg {
    font-size: 1.25rem; /* פונט מוגדל */
    padding: 0.75rem 1rem; /* ריווח גדול */
    height: 3rem; /* גובה נעים בתצוגת טאבלט/טלפון */
}
/* ===== Sidebar list-group readability fix ===== */
/* ברירת מחדל – טקסט אפור עדין בפריטי תפריט צד */
.admin-page .list-group-item {
    color: #6c757d; /* אפור Bootstrap קלאסי */
}

    /* טקסט משני (תיאור קטן) במצב לא נבחר */
    .admin-page .list-group-item .small,
    .admin-page .list-group-item .text-muted {
        color: #6c757d;
    }

    /* פריט נבחר – רקע כחול (Bootstrap) + כל הטקסט לבן */
    .admin-page .list-group-item.active {
        color: #ffffff;
    }

        /* כותרת/טקסט מודגש בפריט נבחר */
        .admin-page .list-group-item.active .fw-semibold {
            color: #ffffff;
        }

        /* טקסט משני / תיאור קטן בפריט נבחר – גם הוא לבן */
        .admin-page .list-group-item.active .small,
        .admin-page .list-group-item.active .text-muted {
            color: #ffffff !important;
        }


