@import '../../../../styles/variables.scss';

:host {
  display: block;
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-family: 'Segoe UI', sans-serif;
  color: $primary-color; // <- aquí se define color general para textos
}
::ng-deep .mat-mdc-dialog-title {
  color: $primary-color !important;
}
::ng-deep .mat-mdc-dialog-container .mat-mdc-dialog-content {
  color: $primary-color !important;
}
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.url-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input.form-control {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: text;
  background-color: #f9f9f9;
  color: $primary-color;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  :host {
    padding: 1rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  input.form-control {
    font-size: 0.9rem;
  }
}
.error-message {
  color: red;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}
