/* Vinyl Fence Calculator Styles */
/* Isolated styles with unique prefixes to prevent theme conflicts */

.vfc-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.vfc-calculator-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.vfc-form-group {
    margin-bottom: 20px;
}

.vfc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.vfc-input,
.vfc-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 16px;
}

.vfc-map-container {
    height: 400px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.vfc-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.vfc-controls .vfc-button {
    flex: 1;
    margin: 0 5px;
}

.vfc-controls .vfc-button:first-child {
    margin-left: 0;
}

.vfc-controls .vfc-button:last-child {
    margin-right: 0;
}

.vfc-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.vfc-button:hover {
    background-color: #333333;
}

.vfc-results {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    display: none;
}

.vfc-results h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.vfc-results-content {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #333;
}

.vfc-breakdown {
    margin: 20px 0;
    padding: 15px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
}

.vfc-breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
}

.vfc-breakdown-item:last-child {
    border-bottom: none;
    font-weight: bold;
}

.vfc-map-info {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

#vfc-download-btn {
    margin-top: 15px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .vfc-calculator-container {
        padding: 15px;
    }
    
    .vfc-map-container {
        height: 300px;
    }
    
    .vfc-controls {
        flex-direction: column;
    }
    
    .vfc-controls .vfc-button {
        margin: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    .vfc-button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .vfc-input,
    .vfc-select {
        font-size: 14px;
    }
    
    .vfc-map-container {
        height: 250px;
    }
    
    .vfc-results-content {
        font-size: 20px;
    }
} 