* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #121212;
  color: #ffffff;
  min-height: 100vh;
  padding: 19px;

}



.container {
  max-width: 1000px;
  margin: 0 auto;
  transform: scale(1.05);
  transform-origin: top center;
}

.header {
  text-align: center;
  margin-bottom: 28px;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, #43cf7b, #fc7e58, #dfcb54);

  -webkit-background-clip: text;
  font-family: monospace;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.header p {
  color: #a7e8b9;
  font-size: 1rem;
  font-weight: 500;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.card {
  background: #1e1e1e;
  border: 1px solid green;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.text-area-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.label-green {
  color: #66DC89;
}

.label-coral {

  color: #F48C7F;
}

.textarea {
  width: 100%;
  min-height: 110.5px;
  background: #121212;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 8px;
  color: #ffffff;
  font-size: 0.875rem;
  resize: vertical;
}

.textarea:focus {
  outline: none;
  border-color: #56dc8b;
}

.textarea::placeholder {
  color: #888888;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.title-green {
  color: #56dc8b;
}

.title-coral {
  color: #f78c6b;
}

.title-beige {
  color: #a7e8b9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: none;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.button:hover {
  transform: scale(1.05);
}

.button:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.button:disabled:hover {
  transform: none;
}

.button-primary {
  /* background: #56dc8b; */
  /* background: #6ACF93; */
  background: #75BC7B;
  color: #121212;
  /* color: white; */
}

.button-purple {
  background: #FFCCCE;
  color: black
}

.button-yellow {
  background: #E0D56D;
  color: #121212;
}

.button-blue {
  background: #75BC7B;
  color: #121212;
}

.button-coral {
  background: #fa6742;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
}

.button-gradient-purple {
  background: linear-gradient(to right, #56dc8b, #ff9472);
  color: #ffffff;
}

.button-gradient-orange {
  background: linear-gradient(to right, #fa6742, #f78c6b);
  color: #ffffff;
}

.button-outline {
  background: transparent;
  border: 1px solid;
  padding: 12px 16px;
}

.button-outline-green {
  border-color: #56dc8b;
  color: #56dc8b;
}

.button-outline-gray {
  border-color: #888888;
  color: #888888;
}

.button-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bottom-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.progress-container {
  margin-top: 12px;
}

/* Add to your existing progress bar styles */
.progress-bar {
  position: relative;
  /* Required for absolute positioning of emoji */
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  color: #888888;
  margin-bottom: 6px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: #333;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #56dc8b;
  transition: width 0.3s;
  border-radius: 9999px;
}

.progress-status {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 6px;
}



@keyframes bounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  40%,
  43% {
    transform: translate3d(0, -30px, 0);
  }

  70% {
    transform: translate3d(0, -15px, 0);
  }

  90% {
    transform: translate3d(0, -4px, 0);
  }
}


















/* 💻 Media Queries at the bottom like Sana style */
@media (min-width: 640px) {
  .button-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bottom-actions {
    flex-direction: row;
    justify-content: center;
  }

  .container {
    padding: 0 12px;
  }

}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}



#vibeCheckBtn:focus,
#vibeCheckBtn:hover,
#vibeCheckBtn:active {
  color: black !important;
  opacity: 1 !important;
  filter: none !important;
}

#modifiedMessage {
  display: none;


}

#modifiedMessage::placeholder {
  color: limegreen;
  /* or #32CD32 */
  opacity: 1;
  /* Make sure it's visible */
}

.button-grid {
  margin-top: 21px;
  margin-bottom: 20px;
}

.center-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;


}


















/* =============== SIDEBAR STYLES =============== */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.draft-sidebar {
  position: fixed;
  top: 0px;
  left: -550px;
  width: 320px;
  height: 150%;
  background: #1e1e1e;
  z-index: 999;
  transition: all 0.3s ease;
  padding: 20px;
  border-right: 1px solid #333;
  overflow-y: auto;
  border: #43cf7b solid 1px;
 
}

.sidebar-open .draft-sidebar {
  left: 0;
  top: 0;
}

.sidebar-open .sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #333;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #56dc8b;
}

.close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.close-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

.drafts-list {
  min-height: calc(100% - 120px);
}

.no-drafts {
  color: #888;
  text-align: center;
  margin-top: 40px;
  font-style: italic;
}

.draft-item {
  padding: 12px;
  margin-bottom: 12px;
  background: #252525;
  border-radius: 8px;
  border-left: 3px solid #56dc8b;
  transition: all 0.2s;
}

.draft-item:hover {
  background: #2a2a2a;
}

.draft-preview {
  color: #ddd;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.draft-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.draft-time {
  font-size: 0.75rem;
  color: #888;
}

.load-draft {
  background: rgba(86, 220, 139, 0.2);
  border: 1px solid #56dc8b;
  color: #56dc8b;
  padding: 3px 8px;
  font-size: 0.75rem;
  cursor: pointer;
}

.load-draft:hover {
  background: rgba(86, 220, 139, 0.3);
}


.clear-btn {
  width: 100%;
  padding: 15px;
  background: rgba(250, 103, 66, 0.1);
  border: 1px solid #F48C7F;
  color: #F48C7F;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s;
  
}

.clear-btn:hover {
  background: rgba(250, 103, 66, 0.2);
}

.clear-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =============== MAIN CONTENT PUSH EFFECT =============== */
.container {
  transition: transform 0.3s ease;
}

.sidebar-open .container {
  transform: translateX(80px);
}










/* Sidebar */
#draftSidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background-color: #4744442f;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1000;
  padding: 30px;

}

/* Slide it in */
body.sidebar-active #draftSidebar {
  transform: translateX(0);
}

/* Push content to the right — but still fully clickable */
#mainContent {
  transition: margin-left 0.3s ease;
}

body.sidebar-active #mainContent {
  margin-left: 110px; /* same as sidebar width */
}










/* Modal Background */
/* Modal Styles */
#sendItModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  font-family: 'Arial', sans-serif;
}

.send-it-modal-content {
  background-color: #1a1a1a;
  border-radius: 15px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Wheel Styles */
#sendItWheelContainer {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 20px auto;
}

#sendItWheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  transition: transform 1s ease-out;
  transform: rotate(0deg);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.send-it-wheel-slice {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 50%, 100% 0%, 100% 100%);
  transform-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 16px;
  text-align: center;
  padding: 0 10px;
}


.send-it-slice-1 { background-color: #FF6B6B; transform: rotate(0deg) skewY(30deg); }
.send-it-slice-2 { background-color: #4ECDC4; transform: rotate(72deg) skewY(30deg); }
.send-it-slice-3 { background-color: #FFE66D; transform: rotate(144deg) skewY(30deg); }
.send-it-slice-4 { background-color: #FF9F1C; transform: rotate(216deg) skewY(30deg); }
.send-it-slice-5 { background-color: #A463F2; transform: rotate(288deg) skewY(30deg); }

/* Button Styles */
.send-it-btn {
  padding: 12px 25px;
  margin: 10px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

#sendItSpinBtn {
  background-color: #4ECDC4;
  color: #1a1a1a;
}

#sendItStopBtn {
  background-color: #FF6B6B;
  color: white;
}

.send-it-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Center Pointer */
#sendItPointer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid white;
  z-index: 10;
}

/* Title */
#sendItModalTitle {
  color: white;
  margin-bottom: 20px;
  font-size: 24px;
}

















@media (max-width: 768px) {
  .draft-sidebar.active ~ #mainContent {
    display: none;
  }
}
