@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Space+Mono:wght@700&display=swap");
.ds-calculator-wrapper {
font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
max-width: 800px;
margin: 40px auto;
padding: 0 20px;
}
.ds-calculator-container {
background: white;
border-radius: 16px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.ds-calculator-header {
background: #3e4653;
padding: 40px 30px;
color: white;
position: relative;
overflow: hidden;
}
.ds-calculator-header::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 400px;
height: 400px;
background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
border-radius: 50%;
}
.ds-calculator-header h1 {
margin: 0 0 10px 0;
font-family: 'Space Mono', monospace;
font-size: 32px;
font-weight: 700;
letter-spacing: -1px;
position: relative;
color: white;
}
.ds-calculator-header p {
margin: 0;
opacity: 0.9;
font-size: 16px;
position: relative;
}
.ds-calculator-form {
padding: 40px 30px;
}
.ds-question {
margin-bottom: 32px;
animation: dsFadeInUp 0.5s ease-out;
animation-fill-mode: both;
}
.ds-question:nth-child(1) { animation-delay: 0.1s; }
.ds-question:nth-child(2) { animation-delay: 0.2s; }
.ds-question:nth-child(3) { animation-delay: 0.3s; }
.ds-question:nth-child(4) { animation-delay: 0.4s; }
.ds-question:nth-child(5) { animation-delay: 0.5s; }
.ds-question:nth-child(6) { animation-delay: 0.6s; }
.ds-question:nth-child(7) { animation-delay: 0.7s; }
.ds-question:nth-child(8) { animation-delay: 0.8s; }
@keyframes dsFadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.ds-label {
display: block;
font-weight: 600;
color: #2c3e50;
margin-bottom: 12px;
font-size: 15px;
letter-spacing: 0.3px;
}
.ds-description {
color: #6c757d;
font-size: 14px;
margin-bottom: 16px;
}
.ds-radio-group {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.ds-radio-option {
flex: 1;
min-width: 140px;
}
.ds-radio-option input[type="radio"] {
display: none;
}
.ds-radio-option label {
display: block;
padding: 16px 20px;
background: #f8f9fa;
border: 2px solid #e9ecef;
border-radius: 10px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
text-align: center;
font-weight: 500;
color: #495057;
}
.ds-radio-option input[type="radio"]:checked + label {
background: #3e4653;
border-color: #3e4653;
color: white;
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(62, 70, 83, 0.3);
}
.ds-radio-option label:hover {
border-color: #3e4653;
transform: translateY(-1px);
}
.ds-checkbox {
margin-bottom: 12px;
}
.ds-checkbox input[type="checkbox"] {
display: none;
}
.ds-checkbox label {
display: flex;
align-items: center;
padding: 16px 20px;
background: #f8f9fa;
border: 2px solid #e9ecef;
border-radius: 10px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-weight: 500;
color: #495057;
}
.ds-checkbox label::before {
content: '';
width: 24px;
height: 24px;
border: 2px solid #dee2e6;
border-radius: 6px;
margin-right: 12px;
transition: all 0.3s ease;
flex-shrink: 0;
}
.ds-checkbox input[type="checkbox"]:checked + label {
background: #e8f4f8;
border-color: #3e4653;
color: #2c3e50;
}
.ds-checkbox input[type="checkbox"]:checked + label::before {
background: #3e4653;
border-color: #3e4653;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
background-size: 18px;
background-position: center;
background-repeat: no-repeat;
}
.ds-checkbox label:hover {
border-color: #3e4653;
transform: translateX(2px);
}
.ds-checkbox label a {
color: #3e4653;
text-decoration: underline;
}
.ds-checkbox label a:hover {
color: #2c3e50;
} .ds-privacy-checkbox {
display: flex;
align-items: flex-start;
gap: 12px;
margin-bottom: 24px;
}
.ds-privacy-checkbox input[type="checkbox"] {
width: 20px;
height: 20px;
margin-top: 2px;
cursor: pointer;
flex-shrink: 0;
accent-color: #3e4653;
}
.ds-privacy-checkbox label {
flex: 1;
font-size: 15px;
line-height: 1.5;
color: #2c3e50;
cursor: pointer;
}
.ds-privacy-checkbox label a {
color: #3e4653;
text-decoration: underline;
}
.ds-privacy-checkbox label a:hover {
color: #2c3e50;
}
.ds-input {
width: 100%;
padding: 16px 20px;
border: 2px solid #e9ecef;
border-radius: 10px;
font-size: 16px;
font-family: inherit;
transition: all 0.3s ease;
background: #f8f9fa;
box-sizing: border-box;
}
.ds-input:focus {
outline: none;
border-color: #3e4653;
background: white;
box-shadow: 0 0 0 4px rgba(62, 70, 83, 0.1);
}
.ds-price-display {
background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
padding: 32px 30px;
margin: 30px 0;
border-radius: 12px;
text-align: center;
box-shadow: 0 10px 30px rgba(22, 160, 133, 0.3);
animation: dsSlideIn 0.5s ease-out;
}
@keyframes dsSlideIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
.ds-price-label {
color: rgba(255, 255, 255, 0.9);
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 8px;
}
.ds-price-amount {
color: white;
font-size: 48px;
font-weight: 700;
font-family: 'Space Mono', monospace;
letter-spacing: -2px;
}
.ds-price-suffix {
font-size: 24px;
opacity: 0.9;
margin-left: 4px;
}
.ds-tax-info {
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
margin-top: 8px;
}
.ds-breakdown-toggle {
background: rgba(255, 255, 255, 0.2);
border: 2px solid rgba(255, 255, 255, 0.3);
color: white;
padding: 10px 20px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
margin-top: 16px;
transition: all 0.3s ease;
}
.ds-breakdown-toggle:hover {
background: rgba(255, 255, 255, 0.3);
border-color: rgba(255, 255, 255, 0.5);
}
.ds-breakdown {
background: rgba(255, 255, 255, 0.15);
margin-top: 20px;
padding: 20px;
border-radius: 10px;
text-align: left;
}
.ds-breakdown-item {
display: flex;
justify-content: space-between;
padding: 8px 0;
color: white;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.ds-breakdown-item:last-child {
border-bottom: none;
padding-top: 12px;
font-weight: 700;
font-size: 18px;
}
.ds-breakdown-calc {
opacity: 0.8;
font-size: 13px;
}
.ds-contact {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 24px;
}
.ds-contact input:first-child {
grid-column: 1 / -1;
}
.ds-submit {
background: #e67e22;
color: white;
border: none;
padding: 18px 40px;
font-size: 18px;
font-weight: 700;
border-radius: 10px;
cursor: pointer;
width: 100%;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
font-family: inherit;
}
.ds-submit:hover:not(:disabled) {
background: #d35400;
transform: translateY(-2px);
box-shadow: 0 15px 40px rgba(230, 126, 34, 0.4);
}
.ds-submit:active:not(:disabled) {
transform: translateY(0);
}
.ds-submit:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.ds-message {
padding: 16px 20px;
margin-top: 20px;
border-radius: 10px;
font-weight: 500;
}
.ds-message.success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.ds-message.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.ds-footer {
text-align: center;
margin-top: 30px;
color: #6c757d;
font-size: 14px;
padding: 0 20px;
}
.ds-footer p {
margin-bottom: 8px;
}
.ds-version-note {
font-style: italic;
} @media (max-width: 600px) {
.ds-calculator-wrapper {
padding: 0 8px;
margin: 20px auto;
}
.ds-calculator-form {
padding: 20px 16px;
}
.ds-calculator-header {
padding: 30px 20px;
}
.ds-contact {
grid-template-columns: 1fr;
}
.ds-contact input {
grid-column: 1 / -1;
}
.ds-radio-group {
flex-direction: row;
gap: 8px;
}
.ds-radio-option {
flex: 1;
min-width: 0;
}
.ds-radio-option label {
padding: 12px 8px;
font-size: 14px;
}
.ds-calculator-header h1 {
font-size: 24px;
}
.ds-calculator-header p {
font-size: 14px;
}
.ds-price-amount {
font-size: 36px;
}
.ds-checkbox label {
font-size: 14px;
padding: 14px 16px;
word-break: break-word;
}
.ds-privacy-checkbox label {
font-size: 14px;
}
.ds-privacy-checkbox input[type="checkbox"] {
width: 18px;
height: 18px;
}
.ds-submit {
padding: 16px 32px;
font-size: 16px;
}
.ds-label {
font-size: 15px;
}
}