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;
    background-color: #f8f9fa;
}

.form-label {
    font-weight: 550;
}

.section-title {
    font-weight: 550;
}

.card-header {
    font-weight: 600;
}

.hero-card {
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    border: 1px solid #dbe8ff;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(13, 110, 253, 0.08);
    padding: 2rem !important;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.style-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
}

.style-emoji {
    font-size: 2rem;
    margin-bottom: 10px;
}

.style-card h6 {
    font-weight: 700;
    margin-bottom: 6px;
}

.style-card p {
    color: #6c757d;
    margin-bottom: 0;
}

.feature-card:hover,
.style-card:hover {
    transform: translateY(-3px);
    transition: all 0.2s ease;
}

.recipe-ingredient-list {
    border-top: 1px solid #dee2e6;
}

.recipe-row {
    display: grid;
    grid-template-columns: 120px 70px 20px;
    align-items: center;
    padding: 8px 0;
}

.recipe-name {
    width: 160px; /* was 140 */
}

.recipe-value {
    width: 90px; /* was 80 */
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.recipe-unit {
    width: 30px; /* was 20 */
    padding-left: 10px;
}

.recipe-notes-disabled-box {
    background-color: var(--bs-secondary-bg);
    border: 1px solid #ced4da;
    color: #6c757d;
    min-height: 95px;
    cursor: not-allowed;
    line-height: 1.5;
}

.recipe-notes-disabled-box a {
    color: #0d6efd;
    cursor: pointer;
}

.recipe-notes-disabled-box.form-control {
    background-color: #e9ecef !important;
    border-color: #ced4da !important;
    color: #6c757d !important;
    min-height: 95px;
    cursor: not-allowed;
    line-height: 1.5;
}

.formula-card {
    background: linear-gradient( to bottom, #f8fbff, #eef5ff );
    border: 1px solid #d8e7ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.recipe-total {
    border-top: 2px solid #cfdced;
}

.recipe-total td {
    font-weight: 700;
    border-top: 1px solid #cfdced;
    padding-top: 2px;
}

.recipe-summary-divider {
    border-left: 1px solid #d6dde8;
    padding-left: 14px;
    min-height: 240px;
}

.recipe-ingredient-list ul {
    margin-bottom: 0;
}

/* App Navigation Bar */
.app-nav-bar {
    background: linear-gradient(to bottom, #eef5ff, #dce9ff) !important;
    border-bottom: 1px solid #b8cbe6 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08) !important;
}

    /* Force the nav area to show the tint */
    .app-nav-bar .container,
    .app-nav-bar nav {
        background: transparent !important;
    }

    /* Nav links */
    .app-nav-bar .nav-link {
        color: #0d47a1 !important;
        border-radius: 6px;
        padding: 8px 14px !important;
    }

        /* Hover */
        .app-nav-bar .nav-link:hover {
            background-color: rgba(13, 110, 253, .08) !important;
        }

        /* Active page */
        .app-nav-bar .nav-link.active {
            background-color: #0d6efd !important;
            color: #fff !important;
            box-shadow: 0 2px 6px rgba(13, 110, 253, .25);
        }


.article-container table {
    width: auto;
    min-width: 650px;
    border-collapse: collapse !important;
    margin: 20px 0;
}

.article-container th,
.article-container td {
    border: 1px solid #dee2e6 !important;
    padding: 10px 14px !important;
    text-align: left;
}

.article-container th {
    background-color: #f8f9fa;
    font-weight: 700;
}

.article-container tbody tr:nth-child(even) {
    background-color: #fafafa;
}