/* .eu additions on top of the legacy stylesheet.
   RULE: never restyle legacy selectors globally (.form, .textInput, #quickSearch, …) — legacy components must be
   rendered with the legacy markup and left to style.css. New components get their own prefixed classes below. */
.f_line.au-auth-heading { height: auto; min-height: 23px; }
.au-auth-heading > span { display: table; width: auto; min-width: 130px; max-width: 100%; height: auto; box-sizing: border-box; padding: 5px 8px 3px; line-height: 18px; }
/* legacy style.css strips borders from input[type=text]/[type=password] outside .bord; e-mail/url/tel/number inputs
   are new input types and get the legacy .textInput look (58px .input70 etc. still come from style.css) */
.bord input[type=email], .bord input[type=url], .bord input[type=tel], .bord input[type=number] { border: 1px solid #323f49; }
.seller_info input[type=email], .seller_info input[type=tel] { width: 145px; }
.regist input[type=email], .regist input[type=tel], .regist input[type=url], .acc_edit input[type=email], .acc_edit input[type=tel], .acc_edit input[type=url] { width: 145px !important; }
.notification.info { background: #f4f4f4; border: 1px solid #ddd; padding: 8px 12px; }
.textPage { background: #fff; line-height: 1.5; }
.textPage p { margin-bottom: 10px; }
.textPage h2 { font-size: 15px; font-weight: bold; margin: 18px 0 8px; color: #333; }
.textPage h3 { font-size: 13px; font-weight: bold; margin: 12px 0 6px; }
.textPage ul, .textPage ol { margin: 0 0 10px 25px; }
.textPage ul { list-style: disc; }
.textPage ol { list-style: decimal; }
.textPage li { margin-bottom: 4px; }
.textPage table { border-collapse: collapse; margin: 0 0 12px; width: 100%; }
.textPage th, .textPage td { border: 1px solid #ddd; padding: 5px 8px; vertical-align: top; text-align: left; }
.textPage th { background: #f2f2f2; }
.textPage a { text-decoration: underline; }
.pagination li.active span { font-weight: bold; }
#col1 > .itemsListHead:first-child, #col1 > form > .itemsListHead:first-child { margin-top: 30px; }
#accountMenu a { margin-right: 14px; }
#accountMenu a.active { font-weight: bold; text-decoration: underline; }
.notification.error { background: #fee; border: 1px solid #c33; padding: 8px 12px; }
.notification.success { background: #efe; border: 1px solid #3a3; padding: 8px 12px; }

/* Plans (client #2: black background after registration) */
.plansPage.dark { background: #111; color: #eee; padding: 25px 25px 10px; }
.plansPage .plansTitle { font-size: 22px; margin-bottom: 15px; color: #fff600; }
.planGrid { display: flex; flex-wrap: wrap; gap: 12px; }
.planCard { flex: 1 1 200px; max-width: 260px; background: #fff; color: #222; border: 1px solid #ddd; border-top: 5px solid #fff600; padding: 14px; box-sizing: border-box; }
.planGrid.dark .planCard { background: #1e1e1e; color: #eee; border-color: #333; border-top-color: #fff600; }
.planCard.vip { border-top-color: #e6007e; }
.planCard.pro { border-top-color: #1f8ecf; }
.planCard .planName { font-size: 18px; font-weight: bold; text-transform: uppercase; }
.planCard .planPrice { font-size: 26px; font-weight: bold; margin: 6px 0; }
.planCard .planPrice small { font-size: 12px; font-weight: normal; }
.planCard .planQty { font-size: 12px; margin-bottom: 8px; opacity: .8; }
.planCard .planDesc { font-size: 12px; line-height: 1.4; min-height: 54px; margin-bottom: 10px; }
.planCard .planTotal { margin: 6px 0 10px; }
.planCard .select { width: 100%; }
.planGrid.dark .textLabel { color: #ccc; }
.planNotice { margin: 15px 0 5px; font-weight: bold; color: #000; }
.plansPage.dark .planNotice { background: #fff; padding: 10px; }
.plansPage .planSkip a { color: #aaa; }
.creditList li { display: inline-block; margin-right: 20px; }
.dataTable { width: 100%; border-collapse: collapse; }
.dataTable th, .dataTable td { border-bottom: 1px solid #e5e5e5; padding: 5px 8px; text-align: left; }
.dataTable tr.expired td { color: #999; }
#creditSources label.disabled { color: #999; }
.plansPage .notification p { color: #222; }
.myAdsTools label { padding: 0; font-weight: normal; }
.myAdsTools .button01 { padding: 1px 6px; }
.toolbox .toolboxBtn { background-color: #f1f1f3; display: block; width: 100%; font-weight: bold; text-align: center; padding: 0 10px; border: 0; color: #c00; font-size: 11px; cursor: pointer; font-family: inherit; line-height: 11px; }
.toolbox .toolboxBtn:hover { background-color: #dbdbdb; }
/* legacy style.css turns .mt10 into position:absolute (search-box hack); new views use .mtop10 instead */
.mtop10 { margin-top: 10px; }
.mt8 { margin-top: 8px; }
a.button01, a.button01:visited { display: inline-block; padding: 2px 6px; color: #fff; text-decoration: none; line-height: 15px; }
/* "Create an advert" category icons: legacy functions.js slid the icon's <ul> down on mouseenter; site.js toggles .open */
#addAd #icons .icon.open ul { display: block; }
/* "Search adverts" flyout: legacy jQuery hid the group lists and slid the active one down; the same with a class */
#searchAds #searchLink { cursor: pointer; }
#flyoutAccordeon > li > ul { display: none; }
#flyoutAccordeon > li > span.active + ul { display: block; }
/* advert page share bar: "Link copied" confirmation next to the icons */
.shares .copyDone { color: #0a0; font-weight: bold; margin-left: 6px; font-size: 11px; }
.shares a.copyLink { font-size: 11px; margin-left: 8px; top: 0; text-decoration: underline; }
/* account "wallet" box (right column, 300px like #col2): credits at a glance + buy button */
.walletBox { background: #f1f1f3; border-top: 3px solid #fff600; padding: 10px 15px 15px; margin-top: 30px; }
.walletBox .walletHead { border-bottom: 1px solid #ddd; padding-bottom: 6px; margin-bottom: 8px; font-size: 13px; }
.walletBox .walletTotal { font-size: 18px; font-weight: bold; color: #B80D00; line-height: 16px; }
.walletTable { width: 100%; border-collapse: collapse; }
.walletTable td { padding: 4px 0; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.walletTable td.tar { text-align: right; }
.walletTable small { color: #666; font-size: 10px; }
.walletBox .walletNote { color: #666; margin-top: 8px; font-size: 10px; }
/* top-menu dropdowns (legacy functions.js used jQuery hover/slideDown) */
.nw_acc_menu .logoutLink { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; font-weight: bold; }
#nav ul li { position: relative; }
#nav ul li:hover > .submenu { display: block; }
/* compare ("Collate") buttons are <button>s inside forms; style them like the legacy <a class="compare"> */
.compareForm { display: inline; margin: 0; }
.itemsListRowCol1 button.compare { background: url(../images/ico.compare.png) no-repeat 2px 2px #fff; padding: 0 10px 0 15px; color: #000; position: absolute; left: 1px; bottom: 1px; line-height: 15px; border: none; font-size: 11px; text-transform: uppercase; cursor: pointer; font-family: inherit; }
.itemsListRowCol1 button.compare.remove { background-color: #fff600; }
.itemsListHeadCol1 .extras button.compare { background: url(../images/ico.extra01.png) no-repeat 0 center; border: 0; padding-left: 15px; margin-right: 10px; cursor: pointer; font: inherit; color: inherit; }
.itemsListHeadCol1 .extras button.compare.remove { font-weight: bold; }
.compareTable th { width: 140px; background: #f1f1f3; font-weight: bold; vertical-align: top; }
.compareTable td { min-width: 130px; vertical-align: top; }
.compareTable tr.photos td { background: #fff; }
/* advert form (legacy _add_.php look): number inputs are new input types, size them like legacy text inputs */
.search_form input[type=number], .search_form input[type=email] { width: 147px; }
.search_form input[type=number].input70 { width: 58px; }
#adForm .search_form > .fl.mr15 { width: 153px; } /* 4 legacy columns (153 + 20 margin); long attribute labels wrap instead of pushing the 4th column down */
.photoUploader { border: 1px solid #ccc; background: #fff; width: 680px; }
.photoUploader.dragover { background: #fff8e0; }
.uploaderList { width: 100%; border-collapse: collapse; font-size: 11px; }
.uploaderList th { background: #cfcfcf; text-align: left; padding: 4px 8px; font-weight: bold; }
.uploaderList td { padding: 4px 8px; border-bottom: 1px solid #eee; }
.uploaderList tr.empty td { text-align: center; color: #888; padding: 40px 8px; background: #f1f1f3; }
.uploaderBar { background: #cfcfcf; padding: 4px 8px; }
.uploaderBar label.button01 { cursor: pointer; padding: 2px 8px; }
.uploader_limits { font-weight: bold; font-size: 11px; margin-top: 6px; }
.add_form_top ul li span { line-height: 38px; }
.tac { text-align: center; }

/* Text-only account shortcut requested by the client. */
#manageAds a.au-manage-adverts { background-image: none; padding: 0 7px; }

/* Advert checkout comparison: isolated from the legacy forms and account pages. */
.au-ad-purchase .au-plan-scroll { overflow-x:auto; margin:18px 0 12px; }
.au-ad-purchase .au-plan-comparison { width:100%; min-width:780px; border-collapse:collapse; table-layout:fixed; }
.au-ad-purchase .au-plan-comparison th, .au-ad-purchase .au-plan-comparison td { padding:16px 10px; border:1px solid #ddd; text-align:center; vertical-align:middle; line-height:1.4; }
.au-ad-purchase .au-plan-comparison thead th { background:#f1f1f1; font-weight:bold; }
.au-ad-purchase .au-plan-comparison th:first-child { text-align:left; width:19%; }
.au-ad-purchase .au-plan-comparison td small { display:block; font-size:13px; margin-top:6px; }
.au-ad-purchase .au-plan-comparison .au-plan-selected { background:#fff5d4; border-left-color:#fff600; border-right-color:#fff600; }
.au-ad-purchase .au-plan-price { font-size:25px; white-space:nowrap; }
.au-ad-purchase .au-plan-select { display:block; cursor:pointer; padding:5px 0; }
.au-ad-purchase input[type=radio] { margin-right:5px; width:17px; height:17px; vertical-align:middle; }
.au-ad-purchase .au-plan-unavailable { color:#777; background:#f6f6f6; }
.au-ad-purchase .au-plan-unavailable .au-plan-select { cursor:default; }
.au-ad-purchase .au-plan-note { margin:12px 0 20px; line-height:1.5; }
.au-ad-purchase .au-credit-options { display:flex; flex-wrap:wrap; gap:12px; border:0; padding:0; margin:24px 0 10px; }
.au-ad-purchase legend { font-weight:bold; margin-bottom:12px; font-size:18px; }
.au-ad-purchase .au-credit-option { flex:1 1 200px; border:1px solid #ddd; padding:15px; line-height:1.5; cursor:pointer; }
.au-ad-purchase .au-credit-option:has(input:checked) { border-color:#fff600; background:#fff5d4; }
.au-ad-purchase .au-credit-option small { display:block; margin-top:6px; }
.au-ad-purchase .au-credit-timing, .au-ad-purchase .au-promo-options { padding:16px; border:1px solid #ddd; margin:22px 0; }
.au-ad-purchase .au-plan-checkout { border-top:2px solid #fff600; padding:20px 0; display:flex; justify-content:flex-end; align-items:center; gap:28px; line-height:1.7; }
.au-ad-purchase #selectedPlanTotal { font-size:25px; white-space:nowrap; }
.au-ad-purchase .au-buy-packs { border-top:1px solid #ddd; padding:20px 0; }
.au-ad-purchase .au-buy-packs summary { cursor:pointer; text-decoration:underline; font-weight:bold; }
.au-ad-purchase .au-visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.au-ad-purchase :focus-visible { outline:2px solid #333; outline-offset:3px; }

.au-test-bank { max-width:560px; margin:30px auto; border:1px solid #ddd; padding:28px; line-height:1.5; }
.au-test-bank .au-test-bank-notice { padding:14px; background:#fff5d4; border-left:4px solid #fff600; margin-bottom:24px; }
.au-test-bank h2 { font-size:24px; font-weight:bold; margin-bottom:18px; }
.au-test-bank dl > div { display:flex; justify-content:space-between; gap:20px; padding:12px 0; border-bottom:1px solid #eee; }
.au-test-bank dt { color:#666; }
.au-test-bank dd { text-align:right; font-weight:bold; }
.au-test-bank .au-test-bank-amount { margin-top:8px; font-size:24px; }
.au-test-bank .au-test-bank-pay { margin:24px 0; text-align:center; }
.au-test-bank .au-test-bank-secondary { display:flex; justify-content:space-between; gap:20px; }
.au-test-bank .au-test-bank-link { background:none; border:0; padding:0; color:inherit; text-decoration:underline; cursor:pointer; font:inherit; }
.au-test-bank summary { cursor:pointer; }
.au-ad-purchase .au-plan-comparison td img { width:26px; height:26px; object-fit:contain; vertical-align:middle; }
.au-ad-purchase .au-plan-comparison[data-free-unavailable="true"] [data-choice="free"] { color:#777; background:#f6f6f6; }

/* Direct advert-category links, arranged like the client's category directory. */
.au-category-directory { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:48px; max-width:820px; padding:28px 18px 48px; }
.au-category-directory .au-category-group { position:relative; padding-left:36px; margin-bottom:22px; }
.au-category-directory h2 { font-size:16px; font-weight:bold; line-height:1.5; margin:0 0 3px; }
.au-category-directory ul { list-style:none; margin:0; padding:0; }
.au-category-directory li { padding:2px 0; line-height:1.45; font-size:15px; }
.au-category-directory a { color:#41484c; text-decoration:underline; text-underline-offset:2px; }
.au-category-directory a:hover { color:#111; }
.au-category-directory a:focus-visible { outline:2px solid #333; outline-offset:3px; }
.au-category-directory .au-category-symbol { position:absolute; top:3px; left:0; width:23px; height:23px; background-image:url('../images/ico.search3.png'); background-repeat:no-repeat; }
.au-category-directory .icon1 { background-position:0px 0; }
.au-category-directory .icon2 { background-position:-44px 0; }
.au-category-directory .icon3 { background-position:-87px 0; }
.au-category-directory .icon4 { background-position:-131px 0; }
.au-category-directory .icon5 { background-position:-175px 0; }
.au-category-directory .icon6 { background-position:-218px 0; }
.au-category-directory .icon7 { background-position:-262px 0; }
.au-category-directory .icon8 { background-position:-306px 0; }
@media (max-width:600px) { .au-category-directory { grid-template-columns:1fr; gap:0; } }


/* Client BUTTON.psd: Poppins Regular, #28a745 capsules, original SVG icons. */
@font-face {
    font-family: "AU Poppins";
    src: url("../fonts/Poppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
.au-psd-button, a.au-psd-button:visited {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 32px;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: #28a745;
    color: #fff;
    box-shadow: none;
    font: 400 14px/20px "AU Poppins", Arial, sans-serif;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
}
/* Legacy links force Georgia; keep the component font consistent for anchors. */
a.au-psd-button { font-family: "AU Poppins", Arial, sans-serif !important; }
.seller_info a.au-psd-button { font-size: 14px; }
.au-psd-button--search, .au-psd-button--continue { padding-left: 6px; }
.au-psd-button--search::before, .au-psd-button--continue::before {
    content: "";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: url("../images/psd-search.svg") center / contain no-repeat;
    filter: brightness(0) invert(1);
}
.au-psd-button--continue::before { background-image: url("../images/psd-continue.svg"); }
.au-psd-button:hover { background-color: #218838; color: #fff; text-decoration: none; }
.au-psd-button:focus-visible { outline: 2px solid #173d22; outline-offset: 3px; }
.au-psd-button:active { background-color: #1e7e34; }
.au-psd-button:disabled { opacity: .5; cursor: not-allowed; }
.au-search-actions { clear: both; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }

/* Original transparent logo artwork, with only the domain suffix replaced in the layout. */
.au-original-logo { display: inline-block; position: relative; width: 240px; height: 48px; vertical-align: middle; }
.au-original-logo-art { display: block; position: absolute; left: 0; top: 0; width: 213px; height: 48px; overflow: hidden; }
.au-original-logo-art img { display: block; width: 254px; height: 48px; max-width: none; }
.au-original-logo-suffix { position: absolute; left: 213px; top: 22px; display: flex; align-items: flex-end; gap: 1px; font: 14px/11px Arial, sans-serif; color: #373f48; }
.au-original-logo-suffix img { display: block; width: 17px; height: 11px; }
.au-original-logo--footer { width: 257px; height: 52px; }
.au-original-logo--footer .au-original-logo-art { width: 232px; height: 52px; }
.au-original-logo--footer .au-original-logo-art img { width: 274px; height: 52px; }
.au-original-logo--footer .au-original-logo-suffix { left: 232px; top: 24px; color: #424242; }

.au-youtube-logo { width: 90px; height: 38px; object-fit: cover; margin-top: 7px; }

/* Account-only advert dates and the pending publication deadline. */
.au-ad-expiry, .au-publication-notice { color: #000; }

.au-account-heading span {
    display: inline-block;
    width: auto;
    min-width: 130px;
    padding: 5px 15px 0;
    white-space: nowrap;
}
