SMPT, SMS, Rejestracja + GUS

This commit is contained in:
2026-08-09 21:12:16 +02:00
parent a0c9d7947b
commit c464c5f708
78 changed files with 5841 additions and 258 deletions
+787 -36
View File
@@ -3312,12 +3312,11 @@ svg {
}
.satellite-tiles {
height: 640px;
left: 50%;
height: 100%;
left: 0;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
width: 640px;
top: 0;
width: 100%;
}
.satellite-tiles img {
@@ -12610,45 +12609,48 @@ svg {
height: 1px;
}
.social-login-row {
display: flex;
gap: 10px;
}
.social-login {
align-items: center;
background: #ffffff;
border: 1px solid #dfe5ed;
border-radius: 6px;
color: #142238;
border: 1px solid #dce4ec;
border-radius: 10px;
color: #24344b;
cursor: pointer;
display: flex;
flex: 1 1 0;
font-size: 14px;
font-weight: 900;
gap: 10px;
height: 42px;
font-weight: 800;
gap: 9px;
height: 46px;
justify-content: center;
width: 100%;
min-width: 0;
transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.google-mark,
.facebook-mark {
align-items: center;
display: grid;
flex: 0 0 18px;
font-size: 14px;
font-weight: 950;
.social-login:hover:not(:disabled) {
background: #f7f9fc;
border-color: #c4d2e2;
box-shadow: 0 2px 10px rgba(20, 34, 58, 0.07);
}
.social-login:disabled {
cursor: default;
opacity: 0.6;
}
.social-login-icon {
flex: 0 0 auto;
height: 18px;
place-items: center;
width: 18px;
}
.google-mark {
color: #1a73e8;
font-family: Arial, sans-serif;
}
.facebook-mark {
background: #1877f2;
border-radius: 999px;
color: #ffffff;
font-family: Arial, sans-serif;
font-size: 14px;
line-height: 1;
@media (max-width: 400px) {
.social-login-row { flex-direction: column; }
}
.login-security-note {
@@ -27542,13 +27544,18 @@ a.listing-detail-back {
.ld-headline-price strong { color: #129357; font-size: 28px; font-weight: 900; }
.ld-headline-price span { color: #6b7a8d; font-size: 14px; font-weight: 700; }
/* Zdjecie glowne bylo za duze po poszerzeniu strony - ograniczamy wysokosc.
object-fit: contain, aby cale zdjecie bylo widoczne (bez przycinania); tlo wypelnia letterbox. */
.listing-detail-gallery-main-image { background: #eef2f6; height: clamp(300px, 40vw, 470px); }
/* Ramka galerii dopasowuje sie do proporcji aktualnego zdjecia (aspect-ratio nadawane inline z JS),
dzieki czemu kadr przylega do zdjecia - brak pustych paskow po bokach. Wysokosc ograniczona. */
.listing-detail-gallery-main-image {
aspect-ratio: 1.6;
background: #0f1b2d;
max-height: 620px;
width: 100%;
}
.listing-detail-gallery-main-image img {
aspect-ratio: auto;
height: 100%;
object-fit: contain;
object-fit: cover;
width: 100%;
}
@@ -27765,3 +27772,747 @@ a.listing-detail-back {
/* Karta "ostatnio przegladane" jest linkiem do oferty. */
.listing-card-link { color: inherit; text-decoration: none; }
.listing-card-link:hover { box-shadow: 0 10px 26px rgba(20, 34, 58, 0.12); }
/* ===== BANERY / PROMOCJE (sloty reklamowe) =====
Publiczne miejsca reklamowe na stronie glownej i karcie oferty + panel admina. */
/* Wrapper slotow pelnoszerokosciowych (hero/top) - trzyma szerokosc obszaru roboczego. */
.home-banner-wrap {
margin: 0 auto;
max-width: var(--workspace-max);
padding: 0 var(--workspace-pad);
width: 100%;
}
.home-banner-wrap:not(:empty) { margin-top: 22px; }
.banner-slot-home_middle { display: block; margin: 22px 0; }
.banner-slot-sidebar { display: block; margin-top: 16px; }
.promo-banner {
align-items: flex-end;
background: linear-gradient(120deg, #0f2f5b 0%, #12a764 135%);
background-size: cover;
background-position: center;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(15, 31, 58, 0.12);
color: #ffffff;
display: flex;
min-height: 140px;
overflow: hidden;
padding: 22px 26px;
position: relative;
text-decoration: none;
transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.promo-banner:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(15, 31, 58, 0.18); }
.promo-banner.has-image { background-color: #0f1b2d; }
.promo-banner-tag {
background: rgba(255, 255, 255, 0.85);
border-radius: 999px;
color: #33475f;
font-size: 10px;
font-weight: 800;
letter-spacing: 0.03em;
padding: 3px 9px;
position: absolute;
right: 14px;
text-transform: uppercase;
top: 12px;
}
.promo-banner-body { display: flex; flex-direction: column; gap: 6px; max-width: 640px; position: relative; z-index: 1; }
.promo-banner-title { font-size: 22px; font-weight: 950; line-height: 1.2; }
.promo-banner-sub { font-size: 14px; font-weight: 600; opacity: 0.94; }
.promo-banner-cta {
align-items: center;
align-self: flex-start;
background: #ffffff;
border-radius: 999px;
color: #0f2f5b;
display: inline-flex;
font-size: 13px;
font-weight: 850;
gap: 6px;
margin-top: 8px;
padding: 9px 16px;
}
.promo-banner:hover .promo-banner-cta { background: #eafaf1; }
.banner-slot-sidebar .promo-banner { min-height: 210px; padding: 18px 20px; }
.banner-slot-sidebar .promo-banner-title { font-size: 18px; }
.banner-slot-sidebar .promo-banner-sub { font-size: 13px; }
@media (max-width: 640px) {
.promo-banner { min-height: 120px; padding: 18px; }
.promo-banner-title { font-size: 18px; }
}
/* --- Panel admina: banery --- */
.mkt-col-span { grid-column: 1 / -1; }
.admin-btn.ghost { background: #ffffff; }
.banner-image-row {
border-top: 1px solid #eef2f6;
display: flex;
gap: 16px;
margin-top: 12px;
padding-top: 14px;
}
.banner-image-preview {
align-items: center;
background: #f4f7fa;
border: 1px solid #dce4ec;
border-radius: 10px;
display: flex;
flex: 0 0 260px;
height: 130px;
justify-content: center;
overflow: hidden;
}
.banner-image-preview img { height: 100%; object-fit: cover; width: 100%; }
.banner-image-empty { align-items: center; color: #8aa0b6; display: inline-flex; font-size: 13px; font-weight: 700; gap: 8px; }
.banner-image-empty svg { width: 16px; height: 16px; }
.banner-image-actions { align-items: flex-start; display: flex; flex-direction: column; gap: 8px; }
.banner-upload-btn { align-items: center; cursor: pointer; display: inline-flex; gap: 7px; }
.banner-upload-btn svg { height: 15px; width: 15px; }
.banner-image-hint { color: #6b7f96; font-size: 12px; max-width: 420px; }
.banner-slot-hint { align-items: center; color: #46617d; display: flex; font-size: 12px; gap: 7px; margin: 4px 0 0; }
.banner-slot-hint svg { height: 14px; width: 14px; }
.banner-admin-list { display: grid; gap: 18px; }
.banner-admin-group-title { color: #6b7f96; font-size: 12px; font-weight: 800; letter-spacing: 0.03em; margin: 0 0 8px; text-transform: uppercase; }
.banner-admin-row {
align-items: center;
border: 1px solid #e6edf4;
border-radius: 12px;
display: flex;
gap: 14px;
margin-bottom: 10px;
padding: 12px;
}
.banner-admin-row.is-off { opacity: 0.62; }
.banner-admin-thumb {
align-items: center;
background: linear-gradient(120deg, #0f2f5b, #12a764);
border-radius: 8px;
color: #ffffff;
display: flex;
flex: 0 0 92px;
height: 60px;
justify-content: center;
overflow: hidden;
}
.banner-admin-thumb img { height: 100%; object-fit: cover; width: 100%; }
.banner-admin-thumb-text svg { height: 20px; width: 20px; }
.banner-admin-info { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.banner-admin-info strong { color: #14223a; font-size: 14px; }
.banner-admin-info > span { color: #5a6b80; font-size: 12px; }
.banner-admin-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 3px; }
.banner-admin-link { color: #12a764; font-size: 11px; overflow: hidden; text-overflow: ellipsis; max-width: 260px; white-space: nowrap; }
.banner-admin-stats { color: #7a8aa0; font-size: 11px; font-weight: 700; }
.banner-status { border-radius: 999px; font-size: 11px; font-weight: 800; padding: 2px 8px; }
.banner-status.on { background: #e3f4ec; color: #12a764; }
.banner-status.off { background: #f1f4f8; color: #8090a4; }
.banner-admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 720px) {
.banner-image-row { flex-direction: column; }
.banner-image-preview { flex-basis: auto; width: 100%; }
.banner-admin-row { flex-wrap: wrap; }
}
/* ===== PROMOWANIE OFERT (modal, odznaki, panel admina) ===== */
.listing-promote-modal {
background: #ffffff;
border: 1px solid #e4e9f1;
border-radius: 16px;
max-width: 560px;
padding: 22px;
position: relative;
width: 100%;
}
.listing-promote-icon {
align-items: center;
background: linear-gradient(120deg, #0f2f5b, #12a764);
border-radius: 14px;
color: #ffffff;
display: flex;
height: 46px;
justify-content: center;
margin-bottom: 10px;
width: 46px;
}
.listing-promote-icon svg { height: 22px; width: 22px; }
.listing-promote-modal h2 { color: #13243d; font-size: 20px; margin: 0 0 6px; }
.promote-plans { display: grid; gap: 8px; margin: 14px 0 6px; }
.promote-plans > strong { color: #24374d; font-size: 13px; }
.promote-plan {
align-items: center;
background: #ffffff;
border: 1.5px solid #dce4ec;
border-radius: 10px;
cursor: pointer;
display: flex;
gap: 10px;
padding: 12px 14px;
text-align: left;
transition: border-color 0.12s ease, background 0.12s ease;
}
.promote-plan:hover { border-color: #b7c6d8; }
.promote-plan.active { background: #eafaf1; border-color: #12a764; }
.promote-plan-name { color: #14223a; font-weight: 850; }
.promote-plan-days { color: #6b7f96; font-size: 12px; font-weight: 700; }
.promote-plan-price { color: #0f7a48; font-weight: 950; margin-left: auto; }
.promote-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.promote-pay-btn {
align-items: center;
background: #12a764;
border: 0;
border-radius: 10px;
color: #ffffff;
cursor: pointer;
display: inline-flex;
flex: 1 1 220px;
font-size: 14px;
font-weight: 850;
gap: 8px;
justify-content: center;
padding: 12px 16px;
}
.promote-pay-btn:hover { background: #0f8f55; }
.promote-pay-btn:disabled { cursor: default; opacity: 0.6; }
.promote-credit-btn {
align-items: center;
background: #ffffff;
border: 1.5px solid #12a764;
border-radius: 10px;
color: #0f7a48;
cursor: pointer;
display: inline-flex;
flex: 1 1 180px;
font-size: 14px;
font-weight: 850;
gap: 8px;
justify-content: center;
padding: 12px 16px;
}
.promote-credit-btn:hover { background: #eafaf1; }
.promote-credit-btn svg, .promote-pay-btn svg { height: 15px; width: 15px; }
.promote-packages { border-top: 1px solid #eef2f6; margin-top: 6px; padding-top: 14px; }
.promote-packages > strong { color: #24374d; font-size: 13px; }
.promote-packages-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.promote-package {
background: #f6f9fc;
border: 1.5px solid #dce4ec;
border-radius: 10px;
cursor: pointer;
display: flex;
flex: 1 1 160px;
flex-direction: column;
gap: 2px;
padding: 12px;
text-align: left;
}
.promote-package:hover { border-color: #12a764; }
.promote-package:disabled { cursor: default; opacity: 0.6; }
.promote-package-qty { color: #12a764; font-size: 16px; font-weight: 950; }
.promote-package-name { color: #14223a; font-size: 12px; font-weight: 700; }
.promote-package-price { color: #14223a; font-weight: 900; margin-top: 4px; }
.promote-package-unit { color: #7a8aa0; font-size: 11px; }
.promote-note { align-items: center; color: #7a8798; display: flex; font-size: 12px; font-weight: 700; gap: 7px; margin: 12px 0 0; }
.promote-note svg { height: 13px; width: 13px; }
.promote-done { align-items: center; color: #0f7a48; display: flex; font-size: 15px; font-weight: 800; gap: 9px; margin: 16px 0; }
.promote-done svg { color: #12a764; height: 20px; width: 20px; }
/* Przycisk "Promuj" na liscie moich ofert */
.promote-action-btn {
align-items: center;
background: linear-gradient(120deg, #0f2f5b, #12a764);
border: 0;
border-radius: 8px;
color: #ffffff !important;
cursor: pointer;
display: inline-flex;
font-weight: 850;
gap: 6px;
}
.promote-action-btn svg { height: 14px; width: 14px; }
/* Odznaki "Wyroznione" */
.listing-promoted-tag {
align-items: center;
background: #eafaf1;
border-radius: 999px;
color: #0f7a48;
display: inline-flex;
font-size: 11px;
font-style: normal;
font-weight: 850;
gap: 4px;
padding: 2px 9px;
}
.listing-promoted-tag svg { height: 12px; width: 12px; }
.ld-badge-promoted { align-items: center; background: #12a764; color: #ffffff; display: inline-flex; gap: 5px; }
.ld-badge-promoted svg { height: 13px; width: 13px; }
.result-promoted-badge {
align-items: center;
background: #12a764;
border-radius: 999px;
bottom: 12px;
color: #ffffff;
display: inline-flex;
font-size: 11px;
font-weight: 850;
gap: 5px;
left: 12px;
padding: 4px 10px;
position: absolute;
box-shadow: 0 3px 10px rgba(15, 31, 58, 0.22);
}
.result-promoted-badge svg { height: 12px; width: 12px; }
.publish-promote-cta {
align-items: center;
background: linear-gradient(120deg, #0f2f5b 0%, #12a764 130%);
border: 0;
border-radius: 12px;
color: #ffffff;
cursor: pointer;
display: flex;
font-size: 14px;
font-weight: 800;
gap: 9px;
justify-content: center;
margin: 4px auto 14px;
max-width: 520px;
padding: 13px 18px;
width: 100%;
}
.publish-promote-cta:hover { filter: brightness(1.05); }
.publish-promote-cta svg { height: 16px; width: 16px; }
/* Panel admina - listy planow/pakietow */
.promo-admin-list { display: grid; gap: 8px; margin-top: 14px; }
.promo-admin-row {
align-items: center;
border: 1px solid #e6edf4;
border-radius: 10px;
display: flex;
flex-wrap: wrap;
gap: 10px 14px;
padding: 11px 13px;
}
.promo-admin-row.is-off { opacity: 0.62; }
.promo-admin-info { display: flex; flex-direction: column; gap: 2px; margin-right: auto; min-width: 160px; }
.promo-admin-info strong { color: #14223a; font-size: 14px; }
.promo-admin-info span { color: #5a6b80; font-size: 12px; }
.promo-admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.promo-orders-table td, .promo-orders-table th { white-space: nowrap; }
/* ===== STRONY PRAWNE (Regulamin, Polityka prywatnosci) ===== */
.legal-page { background: #f5f7fa; padding: 30px 0 50px; }
.legal-shell {
background: #ffffff;
border: 1px solid #e3e9f0;
border-radius: 16px;
margin: 0 auto;
max-width: 900px;
padding: 34px clamp(20px, 4vw, 44px);
width: calc(100% - 2 * var(--workspace-pad));
}
.legal-head { border-bottom: 1px solid #eef2f6; margin-bottom: 18px; padding-bottom: 16px; }
.legal-brand { color: #13243d; font-size: 14px; font-weight: 950; letter-spacing: -0.01em; margin: 0 0 10px; }
.legal-brand span { color: #cdd6e2; font-weight: 400; margin: 0 4px; }
.legal-head h1 { color: #13243d; font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 8px; }
.legal-head > p { color: #4f6277; font-size: 15px; margin: 0; }
.legal-updated { color: #8a99ad !important; font-size: 13px !important; font-weight: 700; margin-top: 8px !important; }
.legal-body { color: #2b3b52; font-size: 15px; line-height: 1.7; }
.legal-body h2 { color: #13243d; font-size: 18px; font-weight: 850; margin: 26px 0 10px; }
.legal-body p { margin: 0 0 12px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin: 6px 0; }
.legal-body a { color: #12a764; font-weight: 700; text-decoration: underline; }
.legal-note {
background: #f6f9fc;
border: 1px dashed #cdd9e6;
border-radius: 10px;
color: #6b7f96;
font-size: 13px;
margin-top: 24px;
padding: 12px 14px;
}
/* ===== STOPKA SERWISU ===== */
.site-footer { background: #0f2340; color: #c6d3e4; margin-top: 40px; }
.site-footer-inner {
display: grid;
gap: 32px 40px;
grid-template-columns: 1.4fr 3fr;
margin: 0 auto;
max-width: var(--workspace-max);
padding: 42px var(--workspace-pad) 30px;
width: 100%;
}
.footer-brand { max-width: 340px; }
.footer-logo { color: #ffffff; font-size: 22px; font-weight: 950; letter-spacing: -0.02em; text-decoration: none; }
.footer-logo span { color: #35d38a; }
.footer-tagline { color: #a9bace; font-size: 14px; line-height: 1.6; margin: 12px 0 14px; }
.footer-badge {
background: rgba(53, 211, 138, 0.14);
border-radius: 999px;
color: #6ee7ad;
display: inline-block;
font-size: 12px;
font-weight: 800;
margin: 0;
padding: 6px 12px;
}
.footer-cols { display: grid; gap: 24px 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.footer-col h3 { color: #ffffff; font-size: 13px; font-weight: 850; letter-spacing: 0.04em; margin: 0 0 3px; text-transform: uppercase; }
.footer-col a, .footer-link-btn {
color: #b7c6d8;
font-size: 14px;
text-decoration: none;
transition: color 0.12s ease;
}
.footer-col a:hover, .footer-link-btn:hover { color: #35d38a; }
.footer-link-btn {
background: none;
border: 0;
cursor: pointer;
font-family: inherit;
padding: 0;
text-align: left;
}
.footer-muted { color: #7c90a8; font-size: 13px; }
.site-footer-bottom {
align-items: center;
border-top: 1px solid rgba(255, 255, 255, 0.09);
color: #8296ae;
display: flex;
flex-wrap: wrap;
font-size: 12.5px;
gap: 6px 20px;
justify-content: center;
margin: 0 auto;
max-width: var(--workspace-max);
padding: 16px var(--workspace-pad);
text-align: center;
width: 100%;
}
@media (max-width: 900px) {
.site-footer-inner { grid-template-columns: 1fr; gap: 26px; }
.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
.footer-cols { grid-template-columns: 1fr; }
}
/* ===== BANER ZGODY NA COOKIE ===== */
.cookie-banner {
bottom: 0;
left: 0;
padding: 14px;
position: fixed;
right: 0;
z-index: 4000;
}
.cookie-banner-inner {
align-items: center;
background: #0f2340;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 14px;
box-shadow: 0 12px 40px rgba(9, 20, 38, 0.35);
color: #e5edf7;
display: flex;
flex-wrap: wrap;
gap: 14px 22px;
justify-content: space-between;
margin: 0 auto;
max-width: 1120px;
padding: 16px 20px;
}
.cookie-banner-text { flex: 1 1 340px; min-width: 0; }
.cookie-banner-text strong { color: #ffffff; display: block; font-size: 15px; margin-bottom: 4px; }
.cookie-banner-text p { color: #b7c6d8; font-size: 13px; line-height: 1.55; margin: 0; }
.cookie-banner-text a { color: #35d38a; font-weight: 700; text-decoration: underline; }
.cookie-banner-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn {
border-radius: 10px;
cursor: pointer;
font-size: 14px;
font-weight: 850;
padding: 11px 18px;
white-space: nowrap;
}
.cookie-btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.28); color: #dbe6f3; }
.cookie-btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
.cookie-btn-primary { background: #12a764; border: 0; color: #ffffff; }
.cookie-btn-primary:hover { background: #0f8f55; }
@media (max-width: 620px) {
.cookie-banner-actions { width: 100%; }
.cookie-btn { flex: 1 1 auto; text-align: center; }
}
/* --- Proces konta: strony statusu (aktywacja, reset hasla) + okno OTP telefonu --- */
.auth-status-page {
min-height: 70vh;
display: flex;
align-items: center;
justify-content: center;
padding: 48px 20px;
}
.auth-status-card {
width: 100%;
max-width: 460px;
background: #fff;
border: 1px solid #e3e8f0;
border-radius: 18px;
box-shadow: 0 18px 50px rgba(15, 35, 64, 0.10);
padding: 40px 36px;
text-align: center;
}
.auth-status-logo {
display: inline-block;
font-size: 20px;
font-weight: 800;
color: #0f2340;
letter-spacing: -0.01em;
text-decoration: none;
margin-bottom: 22px;
}
.auth-status-logo span { color: #12a764; }
.auth-status-card h1 {
font-size: 24px;
color: #0f2340;
margin: 6px 0 12px;
}
.auth-status-icon {
width: 60px;
height: 60px;
margin: 0 auto 8px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 30px;
font-weight: 800;
}
.auth-status-icon.ok { background: #e3f7ee; color: #12a764; }
.auth-status-icon.err { background: #fdecec; color: #d64545; }
.auth-status-lead {
color: #4a5568;
font-size: 15px;
line-height: 1.6;
margin: 0 0 8px;
}
.auth-status-hint {
color: #7a8699;
font-size: 13.5px;
margin: 4px 0 12px;
}
.auth-status-form {
display: flex;
flex-direction: column;
gap: 14px;
text-align: left;
margin-top: 20px;
}
.auth-status-form label {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 14px;
font-weight: 600;
color: #0f2340;
}
.auth-status-form input {
height: 44px;
border: 1px solid #d5dce6;
border-radius: 10px;
padding: 0 14px;
font-size: 15px;
background: #fff;
color: #0f2340;
}
.auth-status-form input:focus {
outline: none;
border-color: #12a764;
box-shadow: 0 0 0 3px rgba(18, 167, 100, 0.15);
}
.auth-status-error {
color: #d64545;
font-size: 13.5px;
margin: 0;
}
.auth-status-btn {
display: inline-block;
width: 100%;
margin-top: 20px;
height: 46px;
line-height: 46px;
border: none;
border-radius: 10px;
background: #12a764;
color: #fff;
font-size: 15px;
font-weight: 700;
text-decoration: none;
cursor: pointer;
transition: background 0.15s ease;
}
.auth-status-btn:hover { background: #0f8f56; }
.auth-status-btn:disabled { opacity: 0.6; cursor: default; }
.auth-status-form .auth-status-btn { margin-top: 6px; }
/* Okno OTP telefonu (na wspolnym backdropie .listing-delete-overlay) */
.otp-modal {
position: relative;
width: 100%;
max-width: 420px;
background: #fff;
border-radius: 18px;
box-shadow: 0 24px 60px rgba(15, 35, 64, 0.28);
padding: 34px 30px 26px;
text-align: center;
}
.otp-modal h2 {
font-size: 21px;
color: #0f2340;
margin: 6px 0 10px;
}
.otp-modal-icon { font-size: 38px; line-height: 1; }
.otp-modal-lead {
color: #4a5568;
font-size: 14.5px;
line-height: 1.6;
margin: 0 0 18px;
}
.otp-modal-form {
display: flex;
flex-direction: column;
gap: 14px;
align-items: stretch;
}
.otp-input {
height: 58px;
border: 1px solid #d5dce6;
border-radius: 12px;
text-align: center;
font-size: 30px;
font-weight: 700;
letter-spacing: 0.5em;
padding-left: 0.5em;
color: #0f2340;
background: #f8fafc;
}
.otp-input:focus {
outline: none;
border-color: #12a764;
box-shadow: 0 0 0 3px rgba(18, 167, 100, 0.15);
background: #fff;
}
.otp-modal-ok { color: #12a764; font-size: 13.5px; margin: 0; }
.otp-modal-actions {
display: flex;
justify-content: space-between;
gap: 10px;
margin-top: 16px;
}
.otp-link {
background: none;
border: none;
color: #12a764;
font-size: 13.5px;
font-weight: 600;
cursor: pointer;
padding: 4px 2px;
}
.otp-link:disabled { color: #9aa6b6; cursor: default; }
.otp-link:hover:not(:disabled) { text-decoration: underline; }
/* Login: komunikat informacyjny, ponowne wyslanie linku, akcje dodatkowe */
.login-info {
background: #e3f7ee;
color: #0f7a4d;
border-radius: 10px;
padding: 10px 14px;
font-size: 13.5px;
margin: 4px 0;
}
.login-resend-activation,
.login-secondary-btn {
width: 100%;
height: 44px;
border-radius: 10px;
font-size: 14.5px;
font-weight: 600;
cursor: pointer;
margin-top: 10px;
}
.login-resend-activation {
background: #fff;
border: 1px solid #12a764;
color: #12a764;
}
.login-resend-activation:hover { background: #f0fbf5; }
.login-secondary-btn {
background: #eef2f8;
border: 1px solid #d5dce6;
color: #0f2340;
}
.login-secondary-btn:hover { background: #e3e9f2; }
.login-back-link {
display: inline-block;
margin-top: 16px;
background: none;
border: none;
color: #12a764;
font-size: 14px;
font-weight: 600;
cursor: pointer;
}
.login-back-link:hover { text-decoration: underline; }
/* Rejestracja firmy: pobranie danych z rejestru REGON (GUS) przyciskiem obok pola NIP */
/* stretch: przycisk zawsze rowny wysokosci pola, takze w widoku mobilnym */
.login-field-gus > div {
align-items: stretch;
display: flex;
gap: 8px;
}
.login-field-gus input {
flex: 1 1 auto;
min-width: 0;
padding-right: 14px;
}
.gus-fetch-btn {
flex: 0 0 auto;
padding: 0 16px;
border: 1px solid #12a764;
border-radius: 6px;
background: #ffffff;
color: #12a764;
font-size: 13px;
font-weight: 800;
cursor: pointer;
white-space: nowrap;
}
.login-field-hint {
color: #647487;
font-size: 12px;
font-weight: 600;
margin: -6px 0 0;
}
.gus-fetch-btn:hover:not(:disabled) { background: #f0fbf5; }
.gus-fetch-btn:disabled {
border-color: #d8e0ea;
color: #9aa6b6;
cursor: default;
}