/* Styles pour les calculatrices */
.calculators-section {
  margin: 2rem 0;
}

.btn-calculator {
  padding: 1rem 1.5rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 80px;
  font-size: 1.1rem;
  border: none;
}

.btn-calculator i {
  font-size: 1.5rem;
}

.btn-graphing {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-graphing:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  color: white;
}

.btn-scientific {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.btn-scientific:hover {
  background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
  color: white;
}

/* Styles pour les modals */
#graph-calc-modal .modal-content,
#scien-calc-modal .modal-content {
  border-radius: 12px;
  overflow: hidden;
}

#graph-calc-modal .modal-header,
#scien-calc-modal .modal-header {
  border-bottom: none;
}

#graph-calc-modal .modal-footer,
#scien-calc-modal .modal-footer {
  border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
  .btn-calculator {
    min-height: 70px;
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }

  .btn-calculator i {
    font-size: 1.3rem;
  }
}

