/**
 * Calculateur ISO - Styles
 * Thème sombre avec accents cyan
 */

.iso-calculator-container {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.iso-calculator-title {
    color: #00d4ff;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.iso-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.iso-input-group {
    display: flex;
    flex-direction: column;
}

.iso-input {
    background-color: #2d2d2d;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    color: #e0e0e0;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    text-align: center;
}

.iso-input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.1);
}

.iso-input::placeholder {
    color: #888;
    opacity: 1;
}

.iso-btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.iso-btn-primary {
    background-color: #2ecc71;
    color: white;
}

.iso-btn-primary:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

.iso-btn-danger {
    background-color: #e74c3c;
    color: white;
}

.iso-btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.iso-btn-primary:active,
.iso-btn-danger:active {
    transform: translateY(0);
}

.iso-buttons-group {
    display: flex;
    gap: 10px;
}

.iso-results-section {
    margin-top: 20px;
    background-color: #2d2d2d;
    border-radius: 6px;
    padding: 20px;
}

.iso-results-title {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.iso-results-content {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.8;
    min-height: 50px;
    white-space: pre-line;
}

.iso-results-content:empty::before {
    content: "Entrez les valeurs et appuyez sur Calculer";
    color: #888;
    font-style: italic;
}

.iso-result-section {
    margin-bottom: 20px;
}

.iso-result-section:last-child {
    margin-bottom: 0;
}

.iso-result-header {
    color: #00d4ff;
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.iso-result-line {
    color: #e0e0e0;
    margin: 5px 0;
    padding-left: 10px;
}

.iso-result-classification {
    color: #2ecc71;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    font-size: 15px;
}

.iso-error {
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .iso-calculator-container {
        padding: 15px;
    }
    
    .iso-calculator-title {
        font-size: 24px;
    }
    
    .iso-input {
        font-size: 14px;
        padding: 12px;
    }
    
    .iso-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .iso-calculator-title {
        font-size: 20px;
    }
    
    .iso-input {
        font-size: 13px;
    }
}
