/* ===== Ancient Anuradhapura - Homepage Layout ===== */

/* Admin nav bits */
.aa-admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 10px;
}

.aa-admin-label {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
}



/* ===== Vendor Dashboard Table ===== */

.aa-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-top: 8px;
}

.aa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.aa-table th,
.aa-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.aa-table th {
    font-weight: 600;
    color: #6b7280;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.aa-tag-core {
    display: inline-block;
    padding: 2px 6px;
    margin-right: 4px;
    font-size: 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
}

.aa-status {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 9px;
    background: #f3f4f6;
    color: #6b7280;
}

.aa-status-live {
    background: #ecfdf3;
    color: #15803d;
}

.aa-status-pending {
    background: #fffbeb;
    color: #92400e;
}

.aa-status-core {
    background: #eff6ff;
    color: #1d4ed8;
}

.aa-status-rejected {
    background: #fef2f2;
    color: #b91c1c;
}

.aa-table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.aa-link {
    font-size: 11px;
    color: #00754a;
    text-decoration: none;
}
.aa-link:hover {
    text-decoration: underline;
}

.aa-link-danger {
    color: #b91c1c;
}

.aa-note {
    font-size: 10px;
    color: #9ca3af;
}



.aa-claim-note {
    margin-top: 10px;
    font-size: 12px;
    color: #6b7280;
}


/* ===== Vendor Auth (Login / Register) ===== */

.aa-auth-wrapper {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 16px;
    display: flex;
    justify-content: center;
}

.aa-auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 26px 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}

.aa-auth-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #111827;
}

.aa-auth-sub {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 14px;
}

.aa-auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.aa-label {
    font-size: 13px;
    color: #4b5563;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aa-input {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    transition: all 0.16s ease;
    outline: none;
}
.aa-input:focus {
    border-color: #00754a;
    box-shadow: 0 0 0 3px rgba(0,117,74,0.10);
}

.aa-auth-btn {
    width: 100%;
    margin-top: 4px;
    justify-content: center;
}

.aa-auth-bottom {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}
.aa-link {
    color: #00754a;
    text-decoration: none;
    font-weight: 500;
}
.aa-link:hover {
    text-decoration: underline;
}

.aa-auth-alert {
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 14px;
    padding: 8px 10px;
    font-size: 12px;
    margin-bottom: 10px;
}
.aa-auth-alert ul {
    margin: 0;
    padding-left: 16px;
}



.aa-wrapper {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 0 16px;
}

/* Hero */
.aa-hero {
    background: #f4f7fb;
    border-radius: 24px;
    padding: 28px 24px 24px;
    margin-bottom: 28px;
}
.aa-hero-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111827;
}
.aa-hero-text {
    margin: 0 0 14px;
    color: #4b5563;
    max-width: 640px;
    font-size: 15px;
}
.aa-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Buttons */
.aa-btn-primary,
.aa-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.18s ease;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.aa-btn-primary {
    background: #00754a;
    color: #ffffff;
    border-color: #00754a;
}
.aa-btn-primary:hover {
    background: #005f3b;
    border-color: #005f3b;
    color: #ffffff;
}

.aa-btn-outline {
    background: #ffffff;
    color: #00754a;
    border-color: #d0d7e2;
}
.aa-btn-outline:hover {
    border-color: #00754a;
    color: #005f3b;
}

/* Section titles */
.aa-section-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #111827;
}
.aa-section-sub {
    margin: 0 0 18px;
    color: #6b7280;
    font-size: 14px;
}

/* Quick links */
.aa-quick-links {
    margin-bottom: 26px;
}
.aa-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.aa-quick-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 12px 14px;
    text-decoration: none;
    display: block;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: all 0.18s ease;
}
.aa-quick-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
}
.aa-quick-label {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    margin-bottom: 2px;
}
.aa-quick-text {
    font-size: 13px;
    color: #6b7280;
}

/* Generic blocks */
.aa-block {
    margin-bottom: 30px;
}
.aa-block-header h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}
.aa-block-header p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 14px;
}
.aa-block-actions {
    margin-top: 4px;
}
.aa-btn-pill,
.aa-btn-pill-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    border: 1px solid #d1d5db;
    text-decoration: none;
    color: #374151;
    transition: all 0.18s ease;
}
.aa-btn-pill-sm {
    padding: 4px 10px;
    font-size: 11px;
    background: #f3f4ff;
    border-color: transparent;
    color: #374151;
}
.aa-btn-pill:hover {
    border-color: #00754a;
    color: #00754a;
}

/* List cards */
.aa-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 6px;
}
.aa-list-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}
.aa-list-link {
    display: flex;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}
.aa-list-thumb {
    width: 88px;
    height: 66px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}
.aa-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.aa-list-content {
    flex: 1;
}
.aa-list-label {
    font-size: 10px;
    letter-spacing: 0.09em;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.aa-list-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}
.aa-list-location {
    font-size: 12px;
    color: #ef4444;
    margin: 2px 0 4px;
}
.aa-list-text {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    max-width: 620px;
}

/* CTA block */
.aa-block-alt {
    background: #f4f7fb;
    border-radius: 24px;
    padding: 18px 16px 16px;
}

/* Responsive */
@media (max-width: 640px) {
    .aa-hero-title {
        font-size: 24px;
    }
    .aa-list-link {
        align-items: flex-start;
    }
}
