﻿/* Agenda Preview - fully scoped under .am-front (bulletproof namespacing) */
.am-front :focus-visible {
    outline: 3px solid #0a7cff;
    outline-offset: 2px;
}

   .am-front {
         font-family: "Segoe UI", helvetica, arial, sans-serif;
         /* margin: 30px; */
         color: #222;
    }

    .am-front-search-label {
        font-size: 16px;
        font-weight: 600;
    }

    .am-front a {
        color: #0a58ca;
    }

    .am-front a:focus-visible {
        outline: 3px solid #0a7cff;
        outline-offset: 2px;
        }

    /* Table */
    .am-front table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .am-front th, .am-front td {
     /*   border: 1px solid #ccc; */
        padding: 5px;
        text-align: left;
        padding-left: 20px;
    }

    .am-front th {
        background-color: #4F6A93;
        color: #fff;
        font-weight: 600;
        font-size: 13px;
        padding: 8px 0 8px 21px;
    }

    .am-front tr:nth-child(even) {
        background-color: #efefef;
    }

    /* Document pill button */
    .am-front .type-button {
        display: inline-flex;
        align-items: center;
        padding: 2px 10px 2px 6px;
        background-color: #4F6A93;
        border: 1px solid #4F6A93;
        border-radius: 11px;
        font-weight: 600;
        color: #fff;
        font-size: 12px;
        cursor: pointer;
        gap: 6px;
        text-decoration: none;
        line-height: 1.6;
        margin: 3px;
    }

        .am-front .type-button:hover,
        .am-front .type-button:focus-visible {
            box-shadow: 0 0 0 3px rgba(10,124,255,0.35);
            transform: translateY(-1px);
        }

    .am-front .checkmark {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        color: #4F6A93;
        border-radius: 50%;
        width: 13px;
        height: 13px;
        font-size: 11px;
        font-weight: 700;
    }

    /* Action button */
    .am-front .action-button {
        background-color: #f3f4f6;
        color: #1f2937;
        border: 1px solid #c7cdd6;
        padding: 8px 14px;
        font-size: 14px;
        cursor: pointer;
        border-radius: 6px;
        margin-left: 10px;
    }

        .am-front .action-button:focus-visible {
            outline: 3px solid #0a7cff;
            outline-offset: 2px;
        }

    /* SR only */
    .am-front .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    /* Search area */
    .am-front .form-section {
        padding-top: 12px;
        border-radius: 8px;
        background-color: #f9fafb;
    }

    .am-front-search-label {
        font-size: 16px;
        font-weight: 400;
        font-style: italic;
    }

    .am-front-results-count {
        font-size: 12px; 
    }

    .am-front-search-heading {
        font-size: 18px !important;
        font-weight: 600;
        padding-bottom: 20px;
   }
    .am-front .am-front-search {
        width: 320px;
        padding: 6px 6px;
        font-size: 16px;
        border: 1px solid #c7cdd6;
        border-radius: 6px;
        box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    }

        .am-front .am-front-search:focus-visible {
            outline: 3px solid #0a7cff;
            outline-offset: 2px;
        }

    .am-front caption {
        text-align: left;
        font-weight: 700;
        padding: 8px 0;
    }

    /* =========================
        Pagination (Scoped)
     ========================= */

    .am-front .pagination {
        display: flex;
        justify-content: center;
        list-style: none;
        padding: 0;
        margin-top: 25px;
        font-family: "Segoe UI", helvetica, arial, sans-serif;
    }

    .am-front .pagination li a {
        display: block;
        padding: 6px 12px;
        text-decoration: none;
        border: 1px solid #cccccc;
        color: #000;
        margin: 0 5px;
        border-radius: 50%;
        transition: background-color 0.3s;
    }

    .am-front .pagination li a.active {
        background-color: #4F6A93;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        color: #fff;
    }

    .am-front .pagination li a:hover:not(.active) {
        background-color: #ebebeb;
    }

   .am-front .pagination li a:focus-visible {
       outline: 3px solid #0a7cff;
       outline-offset: 2px;
   }
