Files
nahodka-front/src/styles/rules.css
2026-07-03 00:04:56 +03:00

133 lines
2.1 KiB
CSS

/* ── Rules Modal overrides ── */
.rules-modal {
width: 560px;
max-width: 96vw;
}
.rules-modal-title-wrap {
display: flex;
align-items: center;
gap: 10px;
}
.rules-modal-icon {
font-size: 1.3rem;
line-height: 1;
}
/* Rules list container */
.rules-list {
display: flex;
flex-direction: column;
gap: 6px;
}
/* Single section */
.rules-section {
border: 1px solid rgba(255,255,255,.07);
border-radius: 14px;
overflow: hidden;
background: rgba(255,255,255,.025);
}
.rules-section-head {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px 10px;
border-bottom: 1px solid rgba(255,255,255,.06);
}
.rules-num {
min-width: 26px;
height: 26px;
background: linear-gradient(135deg, #1fc9b0, #2de0c8);
color: #082320;
border-radius: 8px;
font-size: .75rem;
font-weight: 900;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.rules-title {
color: #fff;
font-weight: 800;
font-size: .92rem;
letter-spacing: -.1px;
}
/* Body */
.rules-body {
padding: 10px 16px 12px 16px;
color: var(--muted);
font-size: .83rem;
line-height: 1.65;
}
.rules-body p {
margin: 0 0 8px;
}
.rules-body p:last-child {
margin-bottom: 0;
}
.rules-body ul {
margin: 4px 0 8px;
padding-left: 18px;
display: flex;
flex-direction: column;
gap: 5px;
}
.rules-body ul:last-child {
margin-bottom: 0;
}
.rules-body li {
line-height: 1.55;
}
/* Sub-section titles (3.1, 3.2 …) */
.rules-sub-title {
color: rgba(255,255,255,.55);
font-size: .75rem;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .5px;
margin: 10px 0 4px !important;
}
.rules-sub-title:first-child {
margin-top: 0 !important;
}
/* Legal reference highlight */
.rules-law {
color: var(--teal);
font-weight: 700;
}
/* Warning paragraph */
.rules-warn {
background: rgba(255,107,107,.1);
border: 1px solid rgba(255,107,107,.2);
border-radius: 8px;
padding: 8px 12px;
color: #ff9999;
font-size: .8rem;
margin-top: 8px !important;
}
@media (max-width: 600px) {
.rules-section-head {
padding: 10px 12px 8px;
}
.rules-body {
padding: 8px 12px 10px;
}
}