#carbon-calculator-form input::placeholder {
    color: #666666;
    opacity: 1; /* Para Firefox */
}
        
/* Para navegadores WebKit */
#carbon-calculator-form input::-webkit-input-placeholder {
    color: #666666;
}
        
/* Para Firefox */
#carbon-calculator-form input::-moz-placeholder {
    color: #666666;
    opacity: 1;
}
        
/* Para Internet Explorer */
#carbon-calculator-form input:-ms-input-placeholder {
    color: #666666;
}

.carbon-calculator-container {
    background: transparent;
    overflow: hidden;
}


.calculator-content {
    display: flex;
    flex-wrap: wrap;
    min-height: 700px;
    gap: 70px;
}

/* Formulario - Columna Izquierda */
.calculator-form {
    flex: 1;
    padding: 40px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: #420EA3;
    margin-bottom: 30px;
    font-size: 42px;
    margin-top: 0;
    text-transform: none;
}

.form-header p {
    color: #653BEC;
    line-height: 1.3;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 600;
    text-align: justify;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #653BEC;
    font-size: 22px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #653BEC;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    background: #DDDDDD;
    min-height: 60px;
}

.form-group input:focus {
    outline: none;
    border-color: #653BEC;
}

.form-group input.error {
    border-color: #e74c3c;
    background-color: #ffebee;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #653becad;
    font-size: 15px;
    font-weight: 300;
}

/* Estilos para errores de campo específicos */
.field-error {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #ffebee;
    border: 1px solid #e74c3c;
    border-radius: 4px;
    color: #c62828;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.field-error span {
    display: block;
}

/* Animación para mostrar errores */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 50px;
    }
}

.calculate-btn {
    background: #653BEC;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    margin-top: 10px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.calculate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.result-container {
    background: #653bec14;
    padding: 30px;
    border-radius: 8px;
    margin-top: 25px;
    border: 2px solid #653BEC;
}

.result-container h3 {
    color: #653BEC;
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
    margin-top: 0;
}

.result-value {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

.co2-amount {
    font-size: 2.5em;
    font-weight: bold;
    color: #653BEC;
    display: block;
}

.unit {
    font-size: 1.2em;
    color: #666;
    margin-top: 5px;
    display: block;
}

.result-details {
    background: rgba(255,255,255,0.7);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.result-details p {
    margin: 5px 0;
    font-size: 16px;
}

/* Información - Columna Derecha */
.calculator-info {
    flex: 1;
    padding: 0;
    background: transparent;
    color: white;
    display: flex;
    flex-direction: column;
}

.calculator-info h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2em;
    margin-top: 0;
    text-transform: none;
    text-align: left;
}

.calculator-info > p {
    line-height: 1.3;
    margin-bottom: 40px;
    font-size: 18px;
    text-align: justify;
}

/* Efectos Glass */
/*.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}*/
.glass-effect {
    background: #653BEC;
    padding: 25px;
    margin-bottom: 20px;
    text-align: justify;
}

.info-box h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 22px;
    text-align: left;
    margin-top: 0;
}

.param-item {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 300;
}

.param-item strong {
    display: block;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
}

.param-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    position: relative;
    display: none;
}

.param-separator::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

.note-box {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.note-box h4 {
    color: #fff3cd;
    margin-bottom: 15px;
}

.note-box p {
    margin: 0;
    line-height: 1.5;
    opacity: 0.95;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px solid #f44336;
}

.loading {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-content {
        flex-direction: column;
    }
    
    .calculator-form, .calculator-info {
        flex: none;
        padding: 30px 20px;
    }
    
    .calculator-info h2 {
        font-size: 1.6em;
    }
    
    .form-header h2 {
        font-size: 2em;
    }
    .form-group label {
        font-size: 20px;
    }
    
    .result-value .co2-amount {
        font-size: 2em;
    }
    
    .info-box {
        padding: 20px;
    }
    
    .param-separator {
        margin: 15px 0;
    }
    
    .field-error {
        font-size: 13px;
        padding: 6px 10px;
    }
}