/* Specific Styles for Pad Eye Design Check */

/* Form Layout */
.tool-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.tool-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.tool-form input[type="number"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    font-size: 0.95rem;
}

.tool-form small {
    margin-top: 0.3rem;
    color: #6c757d;
    font-size: 0.85rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.form-actions button {
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

#btn-calculate {
    background-color: #007bff;
    color: white;
    border: none;
}

#btn-calculate:hover {
    background-color: #0069d9;
}

#btn-reset {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #d1d1d1;
}

#btn-reset:hover {
    background-color: #e9ecef;
}

/* Results Section */
.results-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.results-container h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #343a40;
    font-weight: 600;
}

.results-container h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #495057;
    font-weight: 600;
}

.result-summary {
    padding: 1.2rem;
    background-color: #fff;
    border-left: 4px solid #17a2b8;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.result-summary p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.result-summary p:last-child {
    margin-bottom: 0;
}

/* Check Items */
.check-item {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.check-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.check-details {
    font-size: 0.95em;
    color: #6c757d;
    line-height: 1.5;
}

.status-badge {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}

.status-badge.pass {
    background-color: #28a745;
}

.status-badge.fail {
    background-color: #dc3545;
}

.status-badge.error {
    background-color: #ffc107;
    color: #212529;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}