/* Container */
/*--------------------------------------
Search Results
--------------------------------------*/

.f80-search-results-wrap {
    margin-top: 30px;
}

.f80-search-results-header {
    margin-bottom: 18px;
}

.f80-search-results-header h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.f80-search-results-header span {
    color: #6B7280;
    font-size: 15px;
}

/*--------------------------------------
Result Card
--------------------------------------*/

.f80-citation-result-card {
    background: #FFF;
    border: 1px solid #E5E7EB;
    border-radius: var(--wpex-input-border-radius);
    padding: 26px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 8px 10px;
}

.f80-citation-result-card + .f80-citation-result-card {
    margin-top: 18px;
}

/* Main Layout */
.f80-result-main {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Left */
.f80-src-result-left {
    display: flex;
    gap: 24px;
    flex: 1;
}

.f80-src-result-thumb {
    width: 190px;
    height: 135px;
    border-radius: var(--wpex-input-border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.f80-src-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content */
.f80-src-result-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.f80-src-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #6B7280;
}

.f80-src-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9CA3AF;
}

/* Results Detail Grid */
.f80-src-result-details {
    display: flex;
    gap: 40px;
}

.f80-src-detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.f80-src-detail-item i {
  width: 20px;
  min-width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #00539e;
  margin-top: 8px;
}

.f80-src-detail-item label {
    display: block;
}

.f80-src-detail-item strong {
    font-size: 15px;
    color: #111827;
}

/* Right */
.f80-src-result-right {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.f80-src-result-price {
    text-align: right;
}

.f80-src-result-price label {
    display: block;
    color: #6B7280;
}

.f80-src-result-price strong {
    font-size: 30px;
    font-weight: 600;
}

.f80-src-result-price.is-past-due strong {
    color: #d92d20;
}

/* Footer */
.f80-src-result-footer {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Alert */
.f80-src-result-alert {
    flex: 1;
    display: flex;
    color: #4f4f4f;
    align-items: center;
    background: rgb(255, 248, 239);
    border: 1px solid rgb(247, 232, 207);
    border-radius: var(--wpex-input-border-radius);
    padding: 10px 20px 10px 20px;
}

.f80-src-result-alert i {
  color: rgb(212, 145, 33);
  padding: 0px 5px 0px 0px;
  font-size: 18px;
  position: relative;
  top: 1px;
}

/* Button */
.f80-result-btn {
    padding: var(--wpex-btn-padding);

    border-radius: var(--wpex-btn-border-radius);
    border-width: var(--wpex-btn-border-width);
    border-style: var(--wpex-btn-border-style);

    background-color: var(--wpex-btn-bg, var(--wpex-accent));
    color: #FFF;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    text-decoration: none !important;
	font-size: var(--wpex-btn-font-size);
    font-family: var(--wpex-btn-font-family);
    font-style: var(--wpex-btn-font-style);
    text-transform: var(--wpex-btn-text-transform);
    letter-spacing: var(--wpex-btn-letter-spacing);
    line-height: var(--wpex-btn-line-height);
    font-weight: var(--wpex-btn-font-weight);

    transition: 0.15s all ease;
}

.f80-result-btn:hover {
    background: #094A89;
    color: #FFF;
}

/*--------------------------------------
Citation Search Form
--------------------------------------*/
.f80-citation-lookup {
    background: rgb(255, 255, 255);
    border-radius: var(--wpex-input-border-radius);
    border: 1px solid var(--wpex-table-cell-border-color);
    box-shadow: rgba(0, 0, 0, 0.02) 0px 8px 10px;
    margin-top: 20px;
    padding: 20px;
}

#f80-citation-form {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 15px;
    align-items: center;  
}

/*--------------------------------------
Citation Search Header
--------------------------------------*/

.f80-citation-search-header {
    margin-bottom: 18px;
}

.f80-citation-search-header h2 {
  margin: 0px 0px 10px;
  font-size: 18px;
  font-weight: 600;
}

.f80-citation-search-header p {
    margin: 0;
    color: #6B7280;
}

/* Search Field */
.f80-search-field {
    position: relative;
}

/* Fake Search Icon */
.f80-search-field::before {
    content: "\f002";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #98A2B3;
    z-index: 2;
    pointer-events: none;
}

/* Input */
.f80-search-field input {
	width: 100%;
    padding-left: 55px !important;
}

/* Placeholder */
.f80-search-field input::placeholder {
    color: #98A2B3;
    font-weight: 400;
}

/* Focus */
.f80-search-field input:focus {
    outline: none;
    border-color: #0B5CAB;
    box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.08);
}

/*--------------------------------------
Citation Loading State
--------------------------------------*/

.f80-citation-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 24px;

    font-size: 15px;
    font-weight: 500;

    color: #6B7280;
}

/* Spinner */
.f80-loading-spinner {
    width: 18px;
    height: 18px;

    border: 2px solid rgba(11, 92, 171, 0.15);
    border-top-color: #0B5CAB;

    border-radius: 50%;

    animation: f80Spin 0.7s linear infinite;
}

/* Animation */
@keyframes f80Spin {
    to {
        transform: rotate(360deg);
    }
}

/* Result Card */
.f80-citation-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 8px 10px;
    border: 1px solid var(--wpex-table-cell-border-color);
}

#f80-citation-result {
	margin-bottom: 60px;
    display: block;
}

#f80-citation-result .f80-no-results-wrap {
	text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: #fff;
    border-radius: var(--wpex-input-border-radius);
    border: 1px solid var(--wpex-table-cell-border-color);
	box-shadow: rgba(0, 0, 0, 0.02) 0px 8px 10px;
}

.f80-no-results-wrap div.f80-no-results-icon {
  color: #2f6edb;
  font-size: 22px;
}

.f80-no-results-wrap h3.f80-no-results-title {
  margin: 8px 0px 10px;
  font-size: 18px;
  font-weight: 600;
}

/* Title */
.f80-citation-card h3 {
    margin: 0 0 15px;
    font-size: 20px;
}

/* Info rows */
.f80-citation-card p {
    margin: 6px 0;
    font-size: 15px;
}

/* =========================================
   PAGE
========================================= */

.f80-citation-detail {
    min-width: 320px;
    margin: 0 auto;
    padding: 0;
}

/* =========================================
   LAYOUT
========================================= */

.f80-citation-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
	overflow: visible;
}

/* LEFT SIDE */
.f80-citation-main {
    flex: 1;
    min-width: 0;
}


/* =========================================
   CARDS
========================================= */

.f80-citation-info-card,
.f80-payment-card {
    background: #fff;
    border-radius: var(--wpex-input-border-radius);
    border: 1px solid var(--wpex-table-cell-border-color);
	box-shadow: 0 8px 10px rgba(0,0,0,0.02);
}

/* =========================================
   IMAGE
========================================= */

.f80-citation-image {
    overflow: hidden;
	margin-bottom: 20px;
}

.f80-citation-image img {
  border-radius: var(--wpex-input-border-radius);
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
  object-position: top;
}

.f80-citation-image-trigger {
    appearance: none;
    background: none;
    border: 0;
    border-radius: var(--wpex-input-border-radius);
    cursor: zoom-in;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}

.f80-citation-image-trigger:focus-visible {
    outline: 3px solid var(--f80-citation-primary, #00539e);
    outline-offset: 3px;
}

.f80-vehicle-image-lightbox {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 999999;
}

.f80-vehicle-image-lightbox.is-open {
    display: flex;
}

.f80-vehicle-image-lightbox-backdrop {
    background: rgba(0, 0, 0, 0.88);
    border: 0;
    cursor: zoom-out;
    inset: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.f80-vehicle-image-lightbox-content {
    max-height: calc(100vh - 48px);
    max-width: min(1200px, calc(100vw - 48px));
    position: relative;
    z-index: 1;
}

.f80-vehicle-image-lightbox-content img {
    border-radius: var(--wpex-input-border-radius);
    display: block;
    max-height: calc(100vh - 48px);
    max-width: 100%;
    object-fit: contain;
}

.f80-vehicle-image-lightbox-close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    color: #111827;
    cursor: pointer;
    display: flex;
    font-size: 30px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    padding: 0 0 4px;
    position: absolute;
    right: -16px;
    top: -16px;
    width: 44px;
    z-index: 2;
}

body.f80-lightbox-open {
    overflow: hidden;
}

/* =========================================
   GRID CARD
========================================= */

.f80-citation-grid-card {
	background: #fff;
    border-radius: var(--wpex-input-border-radius);
    border: 1px solid var(--wpex-table-cell-border-color);
	margin-top: 20px;
    padding: 24px;
}

.f80-pay-method {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 10px;
}

.f80-pay-method-title {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.f80-payment-test-mode {
  background: #fff3dc;
  border: 1px solid #dba617;
  border-radius: 999px;
  color: #7a4d00;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  padding: 5px 9px;
  text-transform: uppercase;
}

/* =========================================
   INFO CARD
========================================= */

.f80-citation-info-card {
    padding: 20px;
}

/* =========================================
   HEADER
========================================= */

.f80-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.f80-back-link {
    font-size: 14px;
    color: #1d5fa7;
    font-weight: 600;
    cursor: pointer;
}

.f80-citation-top {
	font-size: 18px;
	font-weight: 600;
}

/* =========================================
   TITLE
========================================= */

.f80-citation-title-wrap {
    margin-bottom: 20px;
}

.f80-citation-title-wrap h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.f80-citation-subtitle {
    margin-top: 6px;
    color: #7b8794;
    font-size: 15px;
}

/* =========================================
   GRID
========================================= */

.f80-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.f80-detail-item {
    /*background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    padding: 16px;*/
}

.f80-detail-item label {
    display: block;
    font-weight: 400;
}

.f80-detail-item span {
    font-weight: 600;
}

.f80-detail-item.notes span {
	font-weight: 400;
}

.f80-violation-alert {
  color: #3d4b5c;
  background: #f3f8ff;
  border: 1px solid #d8e7ff;
  border-radius: var(--wpex-input-border-radius);
  padding: 12px 20px 12px 20px;
  margin-top: 20px;
}

.f80-violation-alert strong {
  color: #111;
  font-weight: 700;
}

.f80-violation-alert span {
  color: #2f6edb;
  padding: 0px 5px 0px 0px;
  font-size: 18px;
  position: relative;
  top: 1px;
}

/* =========================================
   Citation Grid
========================================= */

.f80-detail-item-icon {
    display: flex;
    align-items: center;
    gap: 14px;
}

.f80-grid-icon-left {
    width: 22px;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
	color: #00539e;
    bottom: 8px;
    position: relative
}

.f80-label-right {
    display: flex;
    flex-direction: column;
}

.f80-label-right label {
	font-weight: 400;
}

.f80-label-right span {
	font-weight: 600;
}

.f80-label-right .f80-license-plate {
	text-transform: uppercase;
}


/* =========================================
   STATUS
========================================= */

.f80-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 5px 12px;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    box-sizing: border-box;
}

.f80-status-display {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}

.f80-past-due-notice {
	display: block;
	/* margin-top: 0px; */
	color: #d92d20;
	/* font-size: 12px; */
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
}

.f80-status-badge::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border: 1.7px solid currentColor;
    border-radius: 50%;
    font: 700 12px/1 Arial, sans-serif;
    box-sizing: border-box;
}

.f80-status-paid {
	background: #eaf8ee;
	color: #16803a;
	border: 1px solid #c8e8ca;
}

.f80-status-paid::before {
    content: "\2713";
}

.f80-status-un-paid {
	background: #fdecec;
	color: #d92d20;
	border: 1px solid #f3dbdb;
}

.f80-status-un-paid::before {
    content: "!";
}

.f80-status-pending {
    background: #fff6e5;
    color: #d97706;
}

.f80-status-pending::before {
    content: "\25f7";
    border: 0;
    font-size: 18px;
}

.f80-status-void {
    background: #f0f1f3;
    color: #667085;
}

.f80-status-void::before {
    content: "\00d7";
    font-size: 15px;
}

/* =========================================
   PAYMENT SIDEBAR
========================================= */
.f80-payment-sidebar {
    width: 520px;
    min-width: 520px;
    position: relative;
}

.f80-payment-card {
	padding: 20px;
    width: 100%;
    transition: box-shadow .25s ease;
}

.f80-payment-sidebar .f80-payment-card h2 {
    margin: 0px 0px 20px 0px;
    font-size: 18px;
	font-weight: 600;
}

.f80-payment-sidebar .f80-payment-card h2 i {
	padding-right: 5px;
}

.f80-billing-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    margin-bottom: 16px;
}

.f80-billing-field {
    min-width: 0;
}

.f80-billing-field-full {
    grid-column: 1 / -1;
}

.f80-billing-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--f80-citation-text, #111827);
    font-size: 14px;
    font-weight: 500;
}

.f80-billing-field input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d6dbe1;
    border-radius: var(--wpex-input-border-radius);
    background: #fff;
    color: var(--f80-citation-text, #111827);
    font: inherit;
}

.f80-billing-field input:focus {
    border-color: var(--f80-citation-primary, #00539e);
    outline: 2px solid color-mix(in srgb, var(--f80-citation-primary, #00539e) 20%, transparent);
    outline-offset: 1px;
}

@media (max-width: 480px) {
    .f80-billing-details {
        grid-template-columns: 1fr;
    }

    .f80-billing-field-full {
        grid-column: auto;
    }
}

.f80-payment-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.f80-payment-sidebar .f80-payment-heading-row h2 {
    margin: 0;
}

.f80-print-receipt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid currentColor;
    border-radius: var(--wpex-input-border-radius);
    background: transparent;
    color: var(--f80-citation-success, #2e7d32);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.f80-print-receipt-button:hover,
.f80-print-receipt-button:focus-visible {
    background: var(--f80-citation-success, #2e7d32);
    color: #fff;
}

#f80-payment-success-container:not(:empty) {
    margin-bottom: 20px;
}

#f80-receipt-email-alert-container:not(:empty) {
    margin-bottom: 20px;
}

.f80-payment-alert-loader {
    position: relative;
    display: flex;
    min-height: 118px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid;
    border-radius: var(--wpex-input-border-radius);
}

.f80-payment-alert-loader::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .75;
}

.f80-payment-alert-loader-success {
    border-color: #cfe8d4;
    background: #edf8f1;
}

.f80-payment-alert-loader-success::before {
    background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .8) 45%, transparent 65%);
    animation: f80-payment-alert-shimmer 1.4s linear infinite;
}

.f80-payment-alert-loader-receipt {
    border-color: #d7e5f7;
    background: #f5f9ff;
}

.f80-payment-alert-loader-receipt::before {
    background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, .85) 45%, transparent 65%);
    animation: f80-payment-alert-shimmer 1.4s linear infinite;
}

.f80-payment-alert-spinner {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(17, 24, 39, .16);
    border-top-color: var(--f80-citation-primary, #00539e);
    border-radius: 50%;
    animation: f80-payment-alert-spin .75s linear infinite;
}

.f80-payment-alert-loader-success .f80-payment-alert-spinner {
    border-top-color: var(--f80-citation-success, #2e7d32);
}

@keyframes f80-payment-alert-spin {
    to { transform: rotate(360deg); }
}

@keyframes f80-payment-alert-shimmer {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .f80-payment-alert-loader::before,
    .f80-payment-alert-spinner {
        animation-duration: 2s;
    }
}

.f80-receipt-email-alert {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid #d7e5f7;
    border-radius: var(--wpex-input-border-radius);
    background: #f5f9ff;
}

.f80-receipt-email-icon {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e4effd;
    color: var(--f80-citation-primary, #00539e);
    font-size: 24px;
}

.f80-receipt-email-title {
    margin-bottom: 5px;
    color: var(--f80-citation-text, #111827);
    font-size: 17px;
    font-weight: 700;
}

.f80-receipt-email-message,
.f80-receipt-email-note {
    color: var(--f80-citation-muted, #6b7280);
    font-size: 14px;
    line-height: 1.55;
}

.f80-payment-header {
  margin-bottom: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--wpex-input-border-radius);
  border: 1px solid var(--wpex-table-cell-border-color);
}
.f80-payment-header h2 {
    margin: 0px 0px 20px 0px;
    font-size: 18px;
	font-weight: 600;
}

.f80-amount {
	font-size: 34px;
	font-weight: 600;
	line-height: 34px;
}

.f80-payment-status-message {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

/* =========================================
   PAYMENT AREA
========================================= */

#payment-loader {
    background: #f8fafc;
    border: 1px solid #e4ebf2;
    padding: 18px;
    border-radius: 12px;
    text-align: center;
    color: #617080;
    font-weight: 500;
}

.f80-payment-unavailable {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid #f0c8c8;
    border-radius: 10px;
    background: #fff5f5;
    color: #8a2424;
    line-height: 1.5;
}

.f80-payment-unavailable > i {
    margin-top: 3px;
    color: #d63638;
}

.f80-payment-unavailable strong,
.f80-payment-unavailable span {
    display: block;
}

.f80-payment-unavailable span {
    margin-top: 3px;
}

#payment-element {
	width: 100%;
}

#payment-element iframe {
    width: 100% !important;
}

/*
Payment summary
*/

.f80-payment-summary-card {
    margin-bottom: 5px;
}

.f80-amount-summary h2 {
    margin: 20px 0px 20px 0px !important;
    font-size: 18px;
    font-weight: 600;
}

.f80-citation-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.f80-summary-label {
    font-size: 15px;
    color: #444;
    font-weight: 500;
}

.f80-summary-value {
    font-size: 15px;
    color: #1c1c1c;
    font-weight: 600;
}

.f80-pending {
    color: #d49121;
}

.f80-summary-divider {
    height: 1px;
    background: #ececec;
    margin: 20px 0;
}

.f80-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.f80-total-label {
    font-size: 20px;
    font-weight: 600;
}

.f80-total-value {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.f80-paid-total {
    color: var(--f80-citation-success, #2e7d32);
}

.f80-print-receipt[hidden] {
    display: none !important;
}

.f80-late-fee-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f3f8ff;
    border: 1px solid #d8e7ff;
    border-radius: var(--wpex-input-border-radius);
    padding: 12px 20px 12px 20px;
}

.f80-late-fee-info.f80-late-fee-is-late {
	background: #FFF4F4;
	border-color: #f3dbdb;
	color: var(--f80-citation-late-fee-text);
}

.f80-late-fee-icon.f80-late-fee-is-late,
.f80-late-fee-icon.f80-late-fee-is-late i
{
	color: #d63638;
}

.f80-late-fee-icon {
    color: #2f6edb;
    font-size: 18px;
}

.f80-late-fee-text {
    font-size: 15px;
    color: #3d4b5c;
}

.f80-late-fee-text strong {
    color: #111;
    font-weight: 700;
}

/*Payment header inf0 alert*/
.f80-late-warning {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff8ef;
  border: 1px solid #f7e8cf;
  border-radius: var(--wpex-input-border-radius);
  padding: 12px 20px 12px 20px;
  margin-bottom: 25px;
}

.f80-late-warning-icon {
  color: #d49121;
  font-size: 18px;
}

.f80-late-warning-content {
    flex: 1;
	color: #4f4f4f;
}

.f80-late-warning-title {
    font-weight: 600;
}

.f80-late-warning-text {
    font-size: 15px;
}

.f80-late-warning-text span {
    color: #d49121;
	font-weight: 600;
}

.f80-late-warning-text strong {
    color: #e59b1f;
    font-weight: 600;
}

.f80-status-late {
    background: #fdecec;
    color: #d92d20;
}

.f80-status-late::before {
    content: "!";
}

.f80-late-active {
    color: #d63638;
    font-weight: 600;
}

/*count down bar*/
.f80-payment-top {
    display: block;
    margin-bottom: 30px;
}

.f80-payment-left {
    flex: 1;
}

.f80-amount-due {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    padding: 0;
    margin-top: 0;
    margin-bottom: 12px;
}

.f80-payment-date {
    display: block;
    margin-top: 8px;
    color: #888;
    font-weight: 400;
}

.f80-amount.f80-title-is-late {
    color: #d63638;
}

.f80-payment-past-due {
	display: inline-block;
	margin-top: 8px;
	/* padding: 2px 9px; */
	/* border: 1px solid #ef4444; */
	/* border-radius: 999px; */
	color: #d63638;
	/* background: #fff5f5; */
	/* font-size: 12px; */
	font-weight: 600;
	line-height: 1.4;
}

/*.f80-payment-past-due {
    display: inline-block;
    margin-top: 10px;
    padding: 2px 9px;
    border: 1px solid #ef4444;
    border-radius: 999px;
    color: #d63638;
    background: #fff5f5;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}*/

.f80-payment-date-overdue {
    color: #4f4f4f;
}

.f80-amount-due.f80-title-is-active {
	font-weight: 600;
}

.f80-amount-due.f80-title-is-late {
	color: #d63638;
	font-weight: 600;
}

/* =========================================
   BUTTON
========================================= */

.f80-pay-btn {
    margin-top: 20px;	
}

.f80-pay-btn-icon {
   padding-right: 5px;
}

/* =========================================
   Payment Info
========================================= */
#payment-message {	
    text-align: center;
    margin-top: 10px;
}

#payment-message.f80-payment-error {
    color: var(--f80-citation-error, #df1b41);
    font-weight: 600;
}

.f80-billing-field input.f80-field-error {
    border-color: var(--f80-citation-error, #df1b41) !important;
    box-shadow: 0 0 0 1px var(--f80-citation-error, #df1b41) !important;
}

.f80-billing-field input.f80-field-error:focus {
    box-shadow: 0 0 0 2px rgba(223, 27, 65, 0.18) !important;
    outline: none;
}

#payment-element.f80-stripe-field-error {
    border-radius: 6px;
    outline: 1px solid var(--f80-citation-error, #df1b41);
    outline-offset: 4px;
    box-shadow: 0 0 0 3px rgba(223, 27, 65, 0.10);
}

.f80-payment-info {
    color: #444;
	font-size: 15px;
	text-align: center;
	margin-top: 10px;
}

.f80-payment-help {
	text-align: center;
	margin-top: 20px;
}


/* =========================================
   PAID STATE
========================================= */

.f80-payment.un-paid {
    padding: 18px;
    border-radius: 12px;
    background: #edf8f1;
    color: #2e7d32;
    font-weight: 600;
	text-align: center;
}

.f80-payment.paid {
	padding: 18px;
	border-radius: 12px;
	background: #edf8f1;
	color: #2e7d32;
	font-weight: 600;
	text-align: center;
	border: 1px solid #c8e8ca;
}

.f80-payment.pending {
    padding: 18px;
    border-radius: 12px;
    background: #fff7df;
    color: #946200;
    font-weight: 600;
	text-align: center;
}

.f80-payment.void {
    padding: 18px;
    border-radius: 12px;
    background: #eef1f4;
    color: #5c6773;
    font-weight: 600;
	text-align: center;
}

.f80-payment-success {
	padding: 18px;
	border-radius: 12px;
	background: #edf8f1;
	border: 1px solid #c8e8ca;
	color: #2e7d32;
	font-weight: 600;
	text-align: center;
	margin-top: 20px;
	display: block;
}

.f80-payment-success-icon {
    font-size: 42px;
    color: #2e7d32;
    margin-bottom: 12px;
}

.f80-payment-success-title {
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 6px;
}

.f80-payment-success-text {
    font-size: 15px;
    color: #000000;
}

.f80-paid-text {
    /*color: #2e7d32;*/
}

/*stripe checkout expired session popup*/
#f80-session-expired-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f80-session-expired-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
}

.f80-session-expired-content {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-radius: var(--wpex-input-border-radius);
    padding: 40px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 25px 80px rgba(0,0,0,.25);
}

.f80-session-expired-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgb(255, 248, 239);
	border: 1px solid rgb(247, 232, 207);
    color: rgb(212, 145, 33);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.f80-session-expired-content h3 {
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 700;
}

.f80-session-expired-content p {
    color: #4f4f4f;
	margin-bottom: 15px;
    line-height: 1.6;
}

.f80-session-expired-content p.f80-session-note {
    color: #e59b1f;
    font-size: 18px;
    font-weight: 600;
}

#f80-refresh-session {
    margin-top: 10px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 1024px) {

    .f80-citation-layout {
        flex-direction: column;
    }

    .f80-payment-sidebar {
        width: 100%;
        min-width: 100%;
    }

}

@media (max-width: 768px) {

    .f80-result-grid {
       gap: 15px;
       margin-bottom: 20px;
    }
	.f80-citation-result-card {
       margin-top: 25px;
       padding: 20px;
    }
	.f80-citation-detail {
		width: 100%;
		min-width: 0;
		padding: 0;
		box-sizing: border-box;
	}

    .f80-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .f80-citation-image img {
        height: 320px;
    }

    .f80-citation-title-wrap h2 {
        font-size: 24px;
    }

    .f80-amount {
        font-size: 34px;
    }
	
/*--------------------------------------
search results
--------------------------------------*/

@media (max-width: 991px) {

    .f80-citation-result-card {
        padding: 22px;
    }

    .f80-result-main {
        flex-direction: column;
        gap: 24px;
    }

    .f80-src-result-left {
        flex-direction: column;
        gap: 18px;
    }

    .f80-src-result-thumb {
        width: 100%;
        height: 220px;
    }

    .f80-src-result-details {
        gap: 24px;
        flex-wrap: wrap;
    }

    .f80-src-result-right {
        width: 100%;
        min-width: 100%;
        align-items: flex-start;
    }

    .f80-src-result-price {
        text-align: left;
    }

}


/* Mobile */
@media (max-width: 767px) {
	
	#f80-citation-form {
        grid-template-columns: 1fr;
    }

    .f80-citation-result-card {
        padding: 18px;
        border-radius: 14px;
    }

    .f80-result-main {
        gap: 20px;
    }

    .f80-src-result-left {
        gap: 16px;
    }

    .f80-src-result-thumb {
        width: 100%;
        height: 170px;
        border-radius: 12px;
    }

    .f80-src-result-content h3 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .f80-src-result-meta {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 18px;
        font-size: 14px;
    }

    .f80-src-result-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .f80-src-detail-item {
        width: calc(50% - 10px);
        gap: 10px;
    }

    .f80-src-detail-item i {
        font-size: 18px;
        margin-top: 4px;
    }

    .f80-src-detail-item label {
        font-size: 13px;
    }

    .f80-src-detail-item strong {
        font-size: 14px;
        line-height: 1.4;
        display: block;
    }
	
	.f80-src-result-content {
		padding: 20px;
        border-radius: var(--wpex-input-border-radius);
        border: 1px solid var(--wpex-table-cell-border-color);
	}

    .f80-src-result-right {
        width: 100%;
        align-items: stretch;
        gap: 18px;
        border-radius: var(--wpex-input-border-radius);
		border: 1px solid var(--wpex-table-cell-border-color);
        padding: 20px;
    }

    .f80-src-result-price {
        width: 100%;
        text-align: left;
    }

    .f80-src-result-price strong {
        font-size: 32px;
        line-height: 1;
    }

    .f80-src-result-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-top: 20px;
    }

    .f80-src-result-alert {
        width: 100%;
        box-sizing: border-box;
        align-items: flex-start;
        padding: 12px 14px;
        line-height: 1.55;
    }

    .f80-src-result-alert i {
        flex: 0 0 auto;
        margin-top: 2px;
    }

    .f80-result-btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        text-align: center;
    }

}


/* Small Mobile */
@media (max-width: 480px) {

    .f80-citation-result-card {
        padding: 16px;
    }

    .f80-src-result-thumb {
        height: 320px;
    }

    .f80-src-result-content h3 {
        font-size: 18px;
    }

    .f80-src-result-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .f80-src-detail-item {
        width: calc(50% - 8px);
    }

    .f80-src-result-price strong {
        font-size: 28px;
    }

    .f80-citation-result-card {
        margin-top: 18px;
    }

    .f80-citation-grid-card,
    .f80-citation-info-card,
    .f80-payment-card {
        padding: 16px;
    }

}

}
.f80-citation-empty-state {
    max-width: 680px;
    margin: 48px auto;
    padding: 48px 32px;
    border: 1px solid var(--f80-citation-card-border, #dde3ea);
    border-radius: 12px;
    background: var(--f80-citation-card-bg, #ffffff);
    color: var(--f80-citation-text, #111827);
    text-align: center;
}

.f80-citation-empty-icon {
    margin-bottom: 16px;
    font-size: 34px;
    line-height: 1;
}

.f80-citation-empty-state h2 {
    margin: 0 0 12px;
    color: inherit;
}

.f80-citation-empty-state p {
    margin: 0 auto 24px;
    color: var(--f80-citation-muted, #4b5563);
}

.f80-citation-empty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid var(--f80-citation-button-bg, #0969da);
    border-radius: 6px;
    background: var(--f80-citation-button-bg, #0969da);
    color: var(--f80-citation-button-text, #ffffff) !important;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
}

.f80-citation-empty-button:hover,
.f80-citation-empty-button:focus-visible {
    filter: brightness(.92);
}

@media (max-width: 600px) {
    .f80-citation-empty-state {
        margin: 24px 16px;
        padding: 36px 22px;
    }
}
