/* Laser Power Recommendation Tool Styles */
.lpc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f9f9f9;
    padding: 25px; /* Increased padding */
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    max-width: 600px; /* Adjusted max width */
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Softer shadow */
}

.lpc-title {
    text-align: center;
    color: #2c3e50; /* Darker, more modern color */
    margin-top: 0;
    margin-bottom: 30px; /* Increased margin */
    font-size: 1.6em; /* Slightly larger */
    font-weight: 600;
}

.lpc-form-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to single column */
    gap: 20px; /* Space between items */
    margin-bottom: 25px;
}

/* On wider screens, make it two columns */
@media (min-width: 500px) {
    .lpc-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lpc-form-group {
    display: flex;
    flex-direction: column; /* Stack label and input */
}

.lpc-label {
    margin-bottom: 8px;
    font-weight: 500; /* Medium weight */
    color: #34495e; /* Another modern dark color */
    font-size: 0.95em;
}

.lpc-select,
.lpc-input {
    width: 100%;
    padding: 12px 15px; /* More padding */
    border: 1px solid #bdc3c7; /* Softer border color */
    border-radius: 6px;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.lpc-select:focus,
.lpc-input:focus {
    border-color: #3498db; /* Brighter blue for focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2); /* Focus ring */
}

.lpc-input::placeholder {
    color: #95a5a6; /* Lighter placeholder text */
}

.lpc-button-group {
    margin-top: 10px; /* Add some space above the button if it's full width */
     grid-column: 1 / -1; /* Make button span full width if in grid */
    text-align: center; /* Center the button */
}

.lpc-button {
    background-color: #3498db; /* Primary button color */
    color: white;
    padding: 12px 25px; /* Generous padding */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.1s ease;
    display: inline-block; /* For centering if text-align is used on parent */
}

.lpc-button:hover {
    background-color: #2980b9; /* Darker shade on hover */
}
.lpc-button:active {
    transform: translateY(1px); /* Slight press effect */
}


.lpc-results {
    margin-top: 30px;
    padding: 20px;
    background-color: #ecf0f1; /* Light grey background for results */
    border: 1px solid #dadedf;
    border-radius: 6px;
    text-align: center; /* Center result text */
}

.lpc-results-header {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.lpc-results-info-text {
    font-size: 1em;
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 0;
}
.lpc-results-warning-text {
    font-size: 1em;
    color: #c0392b; /* Warning color */
    font-weight: 500;
    line-height: 1.6;
    margin-top:10px;
}


.lpc-initial-message {
    text-align: center;
    color: #7f8c8d; /* Muted color for initial message */
    padding: 20px;
    background-color: #fff;
    border: 1px dashed #bdc3c7;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 0.95em;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .lpc-container {
        padding: 20px;
    }
    .lpc-title {
        font-size: 1.4em;
    }
    .lpc-form-grid {
        grid-template-columns: 1fr; /* Stack inputs on smaller screens */
    }
}

@media (max-width: 480px) {
    .lpc-title {
        font-size: 1.3em;
    }
    .lpc-select, .lpc-input, .lpc-button {
        font-size: 0.95em;
    }
    .lpc-results-header {
        font-size: 1.2em;
    }
    .lpc-results-info-text, .lpc-results-warning-text {
        font-size: 0.9em;
    }
}
