/* ===== PÁGINA ADMINISTRATIVA ===== */
.admin-page {
  background-color: #f5f7fa;
}

.admin-header {
  background: linear-gradient(135deg, #1b3d0f, #2c5e1a);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header h1 i {
  color: var(--secondary);
}

.admin-alert {
  background-color: #fff8e1;
  border-left: 4px solid var(--warning);
  padding: 15px;
  margin: 20px 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.admin-alert i {
  color: var(--warning);
}

.admin-section {
  margin-bottom: 40px;
}

.admin-section h2 {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.admin-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
  margin-bottom: 25px;
}

.admin-card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-form {
  margin-top: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
}

.admin-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232C5E1A' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
  appearance: none;
}

.admin-select:focus {
  outline: none;
  border-color: var(--secondary);
}

.input-rodada {
  /* Layout */
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 12px 15px;
  margin-top: 8px;

  /* Estilo Visual */
  border: 2px solid #128C28; /* Verde do Brasileirão */
  border-radius: 8px;
  background-color: #f8f9fa;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);

  /* Tipografia */
  font-family: 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: #333;

  /* Transições */
  transition: all 0.3s ease;
}

.input-rodada:focus {
  outline: none;
  border-color: #0a5c1a; /* Verde mais escuro */
  box-shadow: 0 0 0 3px rgba(18, 140, 40, 0.2); /* Efeito de foco */
  background-color: #fff;
}

.input-rodada::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

/* Estilo para o label */
.input-rodada-label {
  display: block;
  font-weight: 600;
  color: #212529;
  margin-bottom: 4px;
  font-size: 14px;
}

/* Estilo para o ícone */
.input-rodada-label i {
  margin-right: 8px;
  color: #128C28;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.radio-option input {
  display: none;
}

.radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: all 0.3s;
}

.radio-option input:checked + .radio-custom {
  border-color: var(--primary);
}

.radio-custom:after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  opacity: 0;
  transition: all 0.3s;
}

.radio-option input:checked + .radio-custom:after {
  opacity: 1;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-admin {
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-save {
  background-color: var(--primary);
  color: white;
}

.btn-save:hover {
  background-color: #1b3d0f;
  transform: translateY(-2px);
}

.btn-reset {
  background-color: #e0e0e0;
  color: var(--dark);
}

.btn-reset:hover {
  background-color: #d0d0d0;
}

.btn-action {
  background-color: #f5f5f5;
  color: var(--dark);
  border: 1px solid #ddd;
}

.btn-action:hover {
  background-color: #e0e0e0;
}

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

.btn-danger:hover {
  background-color: #b71c1c;
}

.admin-footer {
  background-color: var(--dark);
  color: white;
  margin-top: 50px;
}

.exit-admin {
  color: #d32f2f !important;
}
