@charset "UTF-8";
/* CSS Document for confirm form */

 body { font-family: Arial; padding: 20px; background: #f9f9f9; }
    .tabs { display: flex; border-bottom: 2px solid #ccc; margin-bottom: 15px; }
    .tabs button { flex: 1; padding: 10px; background: #eee; border: none; cursor: pointer; font-weight: bold; }
    .tabs button.active { background: #007bff; color: white; }
    .tab-content { display: none; }
    .tab-content.active { display: block; }

    input, textarea, select {
      padding: 8px;
      margin-top: 5px;
      width: 100%;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .prize-item input { width: 30%; margin-right: 10px; }
    .btn { padding: 10px 20px; background: #28a745; color: white; border: none; border-radius: 6px; cursor: pointer; }
    .btn-add { background: #ffc107; color: black; margin-top: 10px; }

    .preview-bg {
      width: 100%;
      height: 200px;
      margin-top: 10px;
      border: 2px dashed #ccc;
      background-size: cover;
      background-position: center;
    }

    .bg-option img {
      width: 100px;
      border: 2px solid #ccc;
      border-radius: 8px;
      margin: 5px;
      transition: all 0.3s ease;
    }
    .bg-option input:checked + img {
      border-color: #007bff;
      box-shadow: 0 0 6px #007bff;
    }

    .library-list {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 10px;
    }
	  .prize-type-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px;
  border: 2px dashed #ccc;
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 20px;
}

.toggle-item {
  flex: 1 1 45%;
  background: white;
  border: 1px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s;
}

.toggle-item:hover {
  background: #e6f7ff;
  border-color: #1890ff;
}

.toggle-item label {
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.toggle-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #007bff;
}
/* Nút reset */
.btn-reset {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #dc3545; /* Màu đỏ */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

.btn-reset:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

.btn-reset:active {
  background-color: #bd2130;
  transform: translateY(0);
}

/* css thay đổi mật khẩu tab4 */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.modal-content input {
  width: 100%; padding: 8px; margin: 6px 0;
}
.modal-content .btn {
  margin-top: 10px;
}
