/* Weekly user plan css      */

div#user-weekly-plans-wrapper {
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
}

.uwp-create-btn {
  background: white;
  color: #ff8c00 !important;
  padding: 1.75rem 1.75rem 1.1rem;
  border: 1px dashed #d4dae0;
  font-size: 22px;
  cursor: pointer;
  text-align: center;
  margin-bottom: 30px;
}

.uwp-create-btn:hover {
  background: #f3f6f8;
}

.uwp-create-btn .plan-add-icon {
  background: #ff8c00;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  font-size: 65px;
  height: 50px;
  line-height: 40px;
  width: 50px;
  margin-bottom: 10px;
}

.uwp-plan-row {
  background: #fff;
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}


.uwp-plan-row {
  display: grid;
  grid-template-columns: 140px 1fr 180px;
  gap: 20px;
  align-items: center;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

/* LEFT */
.uwp-plan-left img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

/* MIDDLE */
.uwp-plan-middle{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.uwp-plan-title {
  font-size: 18px;
  font-weight: 600;
  color: #ff8c00;
  margin-bottom: 8px;
}

.uwp-plan-dropdown {
      background: #f3f6f8 !important;
    border: none;
    color: #000 !important;
    text-align: left;
    width: 100%;
}

.uwp-edit-link {
  color: #9ca6af !important;
  display: block;
  padding: .4rem 1rem .2rem .8rem!important;
  border: 1px solid #9ca6af;
  text-decoration: none;
  font-size: 13px;
      width: fit-content;
    align-self: end;
}

/* RIGHT */
.uwp-plan-right {
  text-align: center;
}

.uwp-plan-date {
  font-size: 12px;
  margin-bottom: 12px;
}

.uwp-plan-delete {
  background: #6b6c6d !important;
  border-radius: 50%;
  color: #fff;
  position: relative;
  text-align: center;
  z-index: 100;
  width: fit-content;
  padding: 10px 14px;
}

/* weekly-plan-editor-page css */

#popup-alert-notify.failed {
  background: #f8d7da;
  color: #721c24;
}
#popupMessage {
  display: none;
  opacity: 0;
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: #fffae6;
  color: #83be4e;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 9999;
}

#popupMessage.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#uwp-week-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.uwp-day-col {
  background: #f7f7f7;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.uwp-day-header {
  font-weight: 700;
  color: #ff8c00;
  margin-bottom: 6px;
}

.uwp-slot {
  width: 100%;
  height: 70px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.uwp-add-btn {
  border-radius: 50%;
  border: none;
  font-size: 22px;
  padding: 10px 20px;
  cursor: pointer;
  background: #9ca6af !important;
}

.uwp-remove {
  border: none;
  background: none;
  font-size: 16px;
  cursor: pointer;
  color: #888;
}

/* MODAL */
.uwp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.uwp-modal-content {
  background: white;
  padding: 20px;
  width: 70vw;
  max-height: 80vh;
  overflow: auto;
}

.uwp-activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.uwp-activity-item img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.uwp-activity-item:hover {
  background: #f5f5f5;
}

.uwp-slot {
  height: auto;
  padding: 6px;
  height: 290px;
}

.uwp-activity-card img {
  height: 100px !important;
  object-fit: cover;
}

.uwp-activity-card {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.uwp-card-thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.uwp-card-body {
  padding: 8px;
}

.uwp-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.uwp-card-desc {
  font-size: 11px;
  color: #666;
  line-height: 1.3;
}

.uwp-card-actions {
  display: flex;
  justify-content: space-around;
  padding: 6px;
  border-top: 1px solid #eee;
}

.uwp-action-btn {
  background: #9ca6af !important;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 2px 10px;
  font-size: 14px;
  color: white !important;
}

.uwp-editor-header {
  display: flex;
  gap: 10px;
  flex-direction: column;
  margin-bottom: 20px;
}
.uwp-editor-header label{
    color: #212529;
    font-size: 2rem;
}
.uwp-editor-header input{
    color: #212529;
    background: #fff;
    border: 1px solid #afbac3 !important;
    border-bottom: none;
    display: block;
    line-height: 24px;
    margin-bottom: -2px;
    padding: 12px 15px 10px;
    transition: all .28s ease;
    width: 100%;
}
button#uwp-save-plan {
    width: fit-content;
    align-self: end;
}

.uwp-modal-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
button#uwp-modal-close{
  background: transparent !important;
}

.uwp-modal-top h3{
      font-size: 1.5rem;
    line-height: 2rem;
}