/* assets/css/frontend.css */
.service-calculator {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-calculator .form-group {
    margin-bottom: 24px;
}

.service-calculator label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.service-calculator select,
.service-calculator input[type="number"],
.service-calculator input[type="text"],
.service-calculator input[type="email"],
.service-calculator input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.service-calculator select:focus,
.service-calculator input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.service-calculator button {
    background: #0066cc;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: auto;
    display: inline-block;
}

.service-calculator button:hover {
    background: #0052a3;
}

.calculate-button {
    margin-top: 8px;
}

.price-results {
    margin-top: 30px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 6px;
}

.price-results h3 {
    margin: 0 0 16px;
    color: #333;
    font-size: 20px;
}

.price-details {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.action-buttons {
    margin-top: 20px;
}

.whatsapp-button {
    display: inline-block;
    background: #25D366;
    color: white !important;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.whatsapp-button:hover {
    background: #1ea952;
    text-decoration: none;
}

.embed-section {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
}

.show-embed-code {
    margin-bottom: 10px;
}

.embed-code-display {
    margin-top: 10px;
}

.embed-code {
    width: 100%;
    padding: 10px;
    font-family: monospace;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.embed-code:focus {
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
    outline: none;
}

.powered-by {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.powered-by a {
    color: #0066cc;
    text-decoration: none;
}

.powered-by a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-calculator {
        padding: 20px;
    }
    
    .service-calculator button {
        width: 100%;
    }
}

/* Embedded calculator specific styles */
.service-calculator.embedded {
    box-shadow: none;
    padding: 0;
}