:root {
--tsc-main: #fdb714;
--tsc-btn-bg: #fdb714;
--tsc-btn-text: #222222;
--tsc-fz-base: 15px;
--tsc-fz-price: 42px;
--tsc-font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
} .tsc-wrapper {
max-width: 1100px;
margin: 0 auto;
font-family: var(--tsc-font-family);
color: #333;
font-size: var(--tsc-fz-base);
}
.tsc-wrapper * {
box-sizing: border-box;
}
.tsc-layout {
display: flex;
gap: 25px;
align-items: flex-start;
}
.tsc-main-panel {
flex: 1.4;
background: #fff;
border-radius: 12px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
padding: 30px;
position: relative;
}
.tsc-side-panel {
flex: 0.8;
display: flex;
flex-direction: column;
gap: 20px;
} .tsc-loader {
width: 48px;
height: 48px;
border: 5px solid #eee;
border-bottom-color: var(--tsc-main);
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 1s linear infinite;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
@keyframes rotation {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
} .tsc-top-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}
.tsc-reset-btn {
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
color: #999;
font-size: 0.85em;
transition: 0.3s;
padding: 5px 10px;
border-radius: 4px;
}
.tsc-reset-btn:hover {
background: #f0f0f0;
color: #666;
}
.tsc-reset-btn svg {
stroke: currentColor;
}
.tsc-section {
margin-bottom: 25px;
}
.tsc-label {
font-weight: 700;
font-size: 1em;
color: #444;
} .tsc-vehicle-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
.tsc-card {
border: 2px solid #eee;
border-radius: 8px;
padding: 10px 5px;
text-align: center;
cursor: pointer;
background: #fafafa;
transition: all 0.3s ease;
}
.tsc-card:hover {
border-color: #ccc;
transform: translateY(-2px);
}
.tsc-card.active {
border-color: var(--tsc-main);
background: #fff9e6;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.tsc-icon {
font-size: 1.6em;
margin-bottom: 5px;
}
.tsc-name {
font-size: 0.85em;
font-weight: 700;
color: #333;
} .tsc-options-row {
display: flex;
gap: 20px;
}
.tsc-opt-col {
flex: 1;
}
.tsc-wheels-row {
display: flex;
background: #e0e0e0;
border-radius: 6px;
padding: 2px;
}
.tsc-radio {
flex: 1;
position: relative;
text-align: center;
}
.tsc-radio input {
position: absolute;
opacity: 0;
}
.tsc-radio span {
display: flex;
align-items: center;
justify-content: center;
height: 44px;
font-size: 0.9em;
font-weight: 600;
border-radius: 4px;
cursor: pointer;
color: #666;
transition: all 0.3s ease;
}
.tsc-radio input:checked + span {
background: #fff;
color: #000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tsc-radio span:hover {
color: #000;
background: rgba(255, 255, 255, 0.5);
}
.tsc-toggles {
display: flex;
background: #e0e0e0;
border-radius: 6px;
padding: 2px;
gap: 2px;
}
.tsc-toggle {
flex: 1;
border: none;
padding: 0;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
font-weight: 600;
font-size: 0.9em;
cursor: pointer;
background: #dcdcdc;
color: #777;
transition: all 0.3s ease;
}
.tsc-toggle.active {
background: var(--tsc-main);
color: var(--tsc-btn-text);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tsc-toggle:hover:not(.active) {
background: #cfcfcf;
color: #333;
} .tsc-tabs {
display: flex;
gap: 5px;
margin-bottom: 15px;
}
.tsc-tab {
flex: 1;
padding: 12px;
border: none;
background: #e0e0e0;
font-weight: 700;
cursor: pointer;
border-radius: 6px;
color: #666;
transition: all 0.3s ease;
}
.tsc-tab:hover {
background: #d0d0d0;
color: #333;
}
.tsc-tab.active {
background: #333;
color: #fff;
}
.tsc-input-wrapper {
position: relative;
}
#tsc-dist-input {
width: 100%;
padding: 15px;
font-size: 1.2em;
font-weight: bold;
border: 2px solid #ddd;
border-radius: 8px;
outline: none;
transition: border-color 0.3s ease;
}
#tsc-dist-input:focus {
border-color: var(--tsc-main);
}
.tsc-suffix {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
font-weight: bold;
color: #999;
}
.tsc-addr-inp {
width: 100%;
padding: 12px;
margin-bottom: 10px;
border: 2px solid #ddd;
border-radius: 8px;
outline: none;
transition: border-color 0.3s ease;
}
.tsc-addr-inp:focus {
border-color: var(--tsc-main);
}
#tsc-map-container {
margin-top: 15px;
position: relative;
}
#tsc-map {
width: 100%;
height: 300px;
border-radius: 8px;
background: #eee;
}
#tsc-route-stats {
background: #e8f5e9;
color: #2e7d32;
padding: 10px;
text-align: center;
font-weight: bold;
margin-top: 10px;
border-radius: 6px;
}
#tsc-map-error {
color: #c62828;
text-align: center;
margin-top: 5px;
font-size: 0.9em;
} .tsc-result-block {
background: #fdfdfd;
border-top: 2px dashed #eee;
padding-top: 25px;
margin-top: 10px;
}
.tsc-price-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.tsc-price-label {
font-size: 1.2em;
color: #555;
}
.tsc-price-val {
font-size: var(--tsc-fz-price);
font-weight: 800;
color: #222;
}
#tsc-order-btn {
width: 100%;
padding: 18px;
background: var(--tsc-btn-bg);
border: none;
border-radius: 8px;
font-size: 1.2em;
font-weight: 800;
text-transform: uppercase;
cursor: pointer;
color: var(--tsc-btn-text);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
#tsc-order-btn:hover {
filter: brightness(90%);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.tsc-btn-icon {
font-size: 1.2em;
}
.tsc-warning-box {
display: none;
margin-bottom: 15px;
padding: 10px;
border: 1px solid #ffcdd2;
background: #ffebee;
color: #c62828;
border-radius: 6px;
font-weight: 600;
text-align: center;
}
.tsc-disclaimer {
font-size: 0.8em;
color: #999;
margin-top: 15px;
text-align: center;
line-height: 1.4;
} .tsc-tariff-box,
.tsc-contact-card {
background: #fff;
padding: 25px;
border-radius: 12px;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
border: 1px solid #f0f0f0;
}
.tsc-tariff-title {
font-weight: 800;
font-size: 0.95em;
text-transform: uppercase;
border-bottom: 2px solid var(--tsc-main);
padding-bottom: 5px;
margin-bottom: 15px;
}
.tsc-tariff-subtitle {
font-weight: 700;
font-size: 0.85em;
color: #888;
margin: 15px 0 5px;
text-transform: uppercase;
}
.tsc-row {
display: flex;
justify-content: space-between;
font-size: 0.9em;
padding: 6px 0;
border-bottom: 1px dashed #eee;
}
.tsc-row:last-child {
border-bottom: none;
}
.tsc-contact-card {
text-align: center;
border-top: 5px solid var(--tsc-main);
margin-top: 20px;
}
.tsc-c-title {
font-weight: 600;
color: #666;
margin-bottom: 5px;
}
.tsc-c-phone {
font-size: 1.6em;
font-weight: 800;
color: #222;
text-decoration: none;
display: block;
margin-bottom: 5px;
transition: color 0.3s ease;
}
.tsc-c-phone:hover {
color: var(--tsc-main);
}
.tsc-c-note {
font-size: 0.8em;
color: #27ae60;
font-weight: 600;
}
@media (max-width: 900px) {
.tsc-layout {
flex-direction: column;
}
.tsc-main-panel,
.tsc-side-panel {
width: 100%;
}
.tsc-options-row {
flex-direction: column;
}
}
@media (max-width: 480px) {
.tsc-vehicle-grid {
grid-template-columns: repeat(2, 1fr);
}
.tsc-price-row {
flex-direction: column;
text-align: center;
}
.tsc-price-label {
margin-bottom: 20px;
}
.tsc-price-val {
margin-bottom: 10px;
}
}