.cpa-membership-notice {
background: #FFF3CD;
border: 1px solid #FFD100;
border-left: 4px solid #FFD100;
padding: 1rem 1.5rem;
margin-bottom: 1.5rem;
border-radius: 4px;
}
.cpa-membership-notice p {
margin: 0;
color: #1E3A7B;
} .cpa-directory__search {
margin-bottom: 1rem;
}
.cpa-directory__search input {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1rem;
}
.cpa-directory__table {
width: 100%;
border-collapse: collapse;
}
.cpa-directory__table th,
.cpa-directory__table td {
padding: 0.5rem 0.75rem;
border-bottom: 1px solid #e0e0e0;
text-align: left;
font-size: 0.9rem;
}
.cpa-directory__table th {
background: #1E3A7B;
color: #fff;
font-weight: 600;
}
.cpa-directory__table tr:hover td {
background: #f5f7fa;
} .cpa-account-section { margin-bottom: 1rem;
padding-bottom: 1.25rem;
border-bottom: 1px solid #e0e0e0;
} #sms-alerts.cpa-account-section,
#email-preferences.cpa-account-section {
margin-bottom: 1rem !important;
margin-top: 1rem !important;
} .cpa-account-nav {
position: sticky;
top: 0;
z-index: 50;
background: var(--color-white, #fff);
}
.admin-bar .cpa-account-nav { top: 32px; }
@media screen and (max-width: 782px) {
.admin-bar .cpa-account-nav { top: 46px; }
} .cpa-section-toggle {
all: unset;
display: flex;
align-items: center;
gap: 0.5rem;
width: 100%;
cursor: pointer;
box-sizing: border-box;
}
.cpa-section-toggle:focus-visible { outline: 3px solid #FFD100; outline-offset: 3px; }
.cpa-section-toggle::before {
content: "\25B8";
font-size: 0.75em;
color: #1E3A7B;
transition: transform 0.15s ease;
flex: 0 0 auto;
}
.cpa-section-toggle[aria-expanded="true"]::before { transform: rotate(90deg); }
.cpa-account-section h3 > .cpa-section-toggle { font: inherit; color: inherit; }
.cpa-section-body[hidden] { display: none; }
.cpa-section-totop {
text-align: right;
margin: 0.75rem 0 0;
}
.cpa-section-totop a {
font-size: 0.78rem;
color: var(--color-text-light, #555);
text-decoration: none;
}
.cpa-section-totop a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
.cpa-section-toggle::before { transition: none; }
} .cpa-to-top {
position: fixed;
right: 1rem;
bottom: 1rem;
z-index: 60;
display: none;
align-items: center;
justify-content: center;
width: 2.75rem;
height: 2.75rem;
border-radius: 50%;
background: #1E3A7B;
color: #fff;
text-decoration: none;
font-size: 1.1rem;
line-height: 1;
box-shadow: 0 2px 10px rgba(26, 26, 46, 0.3);
}
.cpa-to-top:hover,
.cpa-to-top:focus { background: #142954; color: #fff; }
.cpa-to-top:focus-visible { outline: 3px solid #FFD100; outline-offset: 2px; }
.cpa-to-top.is-visible { display: flex; } .cpa-my-account [id] { scroll-margin-top: 4.5rem; }
@media (prefers-reduced-motion: no-preference) {
html { scroll-behavior: smooth; }
}
.cpa-account-section:last-child {
border-bottom: none;
}
.cpa-account-info th {
text-align: left;
padding-right: 1rem;
font-weight: 600;
color: #1E3A7B;
}
.cpa-status-badge {
display: inline-block;
padding: 0.2rem 0.75rem;
border-radius: 3px;
font-weight: 600;
font-size: 0.85rem;
}
.cpa-status-active { background: #d4edda; color: #155724; }
.cpa-status-expired { background: #f8d7da; color: #721c24; }
.cpa-status-none { background: #e2e3e5; color: #383d41; }
.cpa-toggle {
display: flex;
align-items: center;
margin-bottom: 0;
cursor: pointer;
} .cpa-toggle-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
gap: 0.5rem 1rem;
margin-bottom: 1rem;
}
.cpa-toggle input {
margin-right: 0.5rem;
} .cpa-gate {
text-align: center;
padding: 2.5rem 1.5rem;
background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
border: 2px solid #e2e8f0;
border-radius: 12px;
margin: 1.5rem 0;
}
.cpa-gate--inline {
padding: 1.5rem;
margin: 1rem 0;
}
.cpa-gate__icon {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
.cpa-gate__title {
font-size: 1.2rem;
color: #1E3A7B;
margin: 0 0 0.5rem;
}
.cpa-gate__desc {
font-size: 0.92rem;
color: #4a5568;
max-width: 500px;
margin: 0 auto 1.25rem;
line-height: 1.6;
}
.cpa-gate__teaser {
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid #e2e8f0;
color: #333;
}
.cpa-gate__buttons {
display: flex;
justify-content: center;
gap: 0.75rem;
flex-wrap: wrap;
}
.cpa-gate__btn {
display: inline-block;
padding: 0.6rem 1.5rem;
border-radius: 6px;
font-size: 0.92rem;
font-weight: 700;
text-decoration: none;
transition: all 0.15s;
}
.cpa-gate__btn--join {
background: #1E3A7B;
color: #fff;
}
.cpa-gate__btn--join:hover {
background: #142954;
color: #fff;
}
.cpa-gate__btn--renew {
background: #e8a44a;
color: #1E3A7B;
}
.cpa-gate__btn--renew:hover {
background: #d4922e;
color: #1E3A7B;
}
.cpa-gate__btn--login {
background: #fff;
color: #1E3A7B;
border: 2px solid #1E3A7B;
}
.cpa-gate__btn--login:hover {
background: #f0f4fa;
color: #1E3A7B;
} .cpa-join-tiers {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
margin-bottom: 2rem;
}
.cpa-tier-card {
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 1.5rem;
text-align: center;
position: relative;
transition: border-color 0.2s, box-shadow 0.2s;
}
.cpa-tier-card:hover {
border-color: #1E3A7B;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.cpa-tier-card--highlight {
border-color: #FFD100;
border-width: 2px;
}
.cpa-tier-card__badge {
position: absolute;
top: -12px;
left: 50%;
transform: translateX(-50%);
background: #FFD100;
color: #1E3A7B;
font-size: 0.75rem;
font-weight: 700;
padding: 0.2rem 0.75rem;
border-radius: 3px;
text-transform: uppercase;
}
.cpa-tier-card__name {
font-size: 1.1rem;
margin-bottom: 0.5rem;
color: #1E3A7B;
}
.cpa-tier-card__price {
font-size: 2rem;
font-weight: 700;
color: #1E3A7B;
margin-bottom: 0.25rem;
}
.cpa-tier-card__duration {
font-size: 0.85rem;
color: #666;
margin-bottom: 1rem;
}
.cpa-tier-card__btn {
display: inline-block;
width: 100%;
}
.cpa-join-benefits {
background: #f5f7fa;
padding: 1.5rem;
border-radius: 8px;
}
.cpa-join-benefits ul {
columns: 2;
}
@media (max-width: 768px) {
.cpa-join-tiers {
grid-template-columns: 1fr;
}
.cpa-join-benefits ul {
columns: 1;
}
} @media (pointer: coarse), (max-width: 768px) {
.cpa-account-section input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.cpa-account-section select,
.cpa-account-section textarea,
.cpa-account-section button,
.cpa-account-section .btn {
min-height: 44px;
} .cpa-section-toggle {
min-height: 44px;
} .cpa-account-section label:has(> input[type="checkbox"]),
.cpa-account-section label:has(> input[type="radio"]) {
min-height: 44px;
display: flex;
align-items: center;
}
} .cpa-aircraft {
grid-column: 1 / -1;
min-width: 0;
margin: 0;
padding: 0.75rem;
border: 1px solid #d4d4d8;
border-radius: 8px;
}
.cpa-aircraft legend {
padding: 0 0.3rem;
font-weight: 600;
font-size: 0.95rem;
}
.cpa-aircraft__intro,
.cpa-aircraft__note {
margin: 0 0 0.75rem;
font-size: 0.85rem;
color: #4a5568;
}
.cpa-aircraft__note { margin: 0.5rem 0 0; }
.cpa-aircraft-row {
display: grid;
grid-template-columns: 1fr;
gap: 0.5rem;
padding: 0.75rem 0;
border-top: 1px solid #e2e8f0;
}
.cpa-aircraft-row:first-child { border-top: 0; padding-top: 0; }
.cpa-aircraft-row__title {
margin: 0;
font-weight: 600;
font-size: 0.92rem;
color: var(--color-primary, #1E3A7B);
}
.cpa-aircraft-row label {
display: block;
margin-bottom: 0.2rem;
font-weight: 600;
font-size: 0.85rem;
}
.cpa-aircraft-row input[type="text"] {
box-sizing: border-box;
width: 100%;
min-height: 44px;
padding: 8px 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 1rem; }
.cpa-aircraft-row__tail { text-transform: uppercase; }
.cpa-aircraft-row__remove,
.cpa-aircraft__add { min-height: 44px; }
.cpa-aircraft-row__remove { justify-self: start; }
.cpa-aircraft-row__hint { font-size: 0.82rem; color: #4a5568; }
.cpa-aircraft-row__hint:empty { display: none; }
.cpa-aircraft__add { width: 100%; margin-top: 0.25rem; }
.cpa-aircraft__add[hidden] { display: none; }
@media (min-width: 640px) {
.cpa-aircraft-row {
grid-template-columns: 2fr 1fr auto;
align-items: end;
}
.cpa-aircraft-row__title,
.cpa-aircraft-row__hint { grid-column: 1 / -1; }
.cpa-aircraft__add { width: auto; }
}