@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;700&display=swap');
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1e1e2f;
    color: #eaeaea;
    margin: 0;
    padding: 2rem;
  }
  
  h1, h2 {
    color: #ffffff;
  }
  
textarea, select {
  width: 100%;
  padding: 1rem;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.06); /* Glassy layer */
  color: #0c0707;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  resize: vertical;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

  
button {
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  background-color: rgba(30, 27, 75, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}
  
/* Standardized output styling for all doc modals */
#output,
#review-output,
#revised-output,
#agile-stories-output,
#fs-output,
#tds-output,
#test-plan-output,
#trace-output,
#patches-output,
#uat-output,
#timeline-budget-output,
#raid-output,
#deployment-output,
#business-output,
#charter-output,
#raci-output,
#change-plan-output,
#golive-output,
#training-output,
#privacy-output,
#maintenance-output {
  background-color: #2b2b3d;
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid #555;
  margin-top: 1rem;
  white-space: pre-wrap;
  overflow-x: auto;
  font-family: monospace;
  color: #f1f1f1;
}

  
  #doc-link {
    margin-top: 1rem;
    font-size: 1rem;
  }
  
  a {
    color: #4a90e2;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  select:focus,
  textarea:focus {
    outline: none;
    border: 1px solid #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.4);
  }
.doc-card {
  font-size: 0.85rem;
  text-align: left;
  position: relative;
  background: rgba(30, 30, 30, 0.6); /* semi-transparent dark */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  border-radius: 8px;
  width: 180px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

  .doc-card:hover {
    transform: scale(1.05);
    background-color: #2a2a2a;
  }
  
  .doc-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(15, 15, 15, 0.3); /* lighter for glass feel */
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  animation: fadeIn 0.3s ease-in-out;
}

  
  .doc-content {
  background: rgba(17, 17, 17, 0.6); /* translucent dark background */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: #eee;
  margin: 5% auto;
  padding: 20px;
  border-radius: 16px;
  width: 80%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

  
  .close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  .close-btn:hover {
    color: #fff;
    cursor: pointer;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .card {
    position: relative;
    transition: box-shadow 0.3s ease;
  }
  
  .card.glow {
    box-shadow: 0 0 10px 3px #4caf50;
  }
  
  .status-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: gray;
    border: 1px solid white;
  }
  .status-dot.ready {
    background-color: #4caf50;
  }
  @keyframes glowFlash {
    0% { box-shadow: 0 0 0px rgba(0,255,128,0); }
    50% { box-shadow: 0 0 20px 4px rgba(0,255,128,0.8); }
    100% { box-shadow: 0 0 0px rgba(0,255,128,0); }
  }
  
  .glow {
    animation: glowFlash 1.5s ease-in-out;
  }
  body.light-mode {
    background-color: #f5f5f5;
    color: #222;
  }
  
  body.light-mode .doc-card {
    background-color: #fff;
    border-color: #ccc;
  }
  
  body.light-mode .status-dot {
    border: 1px solid #222;
  }
  body.light-mode .doc-card {
    background-color: #ffffff;
    color: #222;
    border: 1px solid #ccc;
  }
  
  body.light-mode .doc-card:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  }  
  body.light-mode h1 {
    color: #111;
  }
  #toggle-theme {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  #toggle-theme:hover {
    background-color: #357ac8;
  }
  
  body.light-mode #toggle-theme {
    background-color: #222;
    color: #fefefe;
  }
  
  body.light-mode #toggle-theme:hover {
    background-color: #444;
  }
input[type="text"],
textarea {
  background: rgba(255, 255, 255, 0.06); /* frosty white */
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px;
  border-radius: 4px;
  font-family: inherit;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 8px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}


input::placeholder,
textarea::placeholder {
  color: #888;
}
.doc-section {
  margin: 1rem 0;
}

.section-toggle {
  background-color: #222;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-radius: 4px;
  margin-bottom: 0.25rem;
}

.section-content {
  display: none;
  padding: 0.5rem 1rem;
  background-color: #111;
  border-left: 3px solid #4a90e2;
  border-radius: 4px;
}

.section-content button {
  margin: 0.25rem;
}
.main-doc-container {
  display: flex;
  flex-wrap: nowrap; /* ✅ Prevents wrapping */
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
  overflow-x: auto; /* ✅ Adds horizontal scroll if too tight */
  box-sizing: border-box;
}

.phase-column {
  background-color: #111111;
  padding: 1rem;
  border-radius: 10px;
  flex: 1 1 18%;
  min-width: 240px;
  max-width: 300px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease;
}

.phase-column:hover {
  transform: scale(1.02);
}

.phase-column h4 {
  background-color: #1a1a1a;
  color: white;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  text-align: center;
  width: 100%;
  font-weight: 600;
}

.phase-column button {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
  padding: 0.6rem;
  border-radius: 6px;
  background-color: rgba(36, 26, 75, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.phase-column button:hover {
  background-color: rgba(78, 122, 145, 0.25);
  transform: translateY(-2px);
}


/* 📱 Stacks columns vertically below 1200px */
@media (max-width: 1200px) {
  .main-doc-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .phase-column {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

#doc-cards-container {
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.doc-sections-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.doc-grid-section {
  width: 200px;
  max-width: 220px;
  flex: 1 1 200px;
  margin: 0 auto;
}

.doc-sections-wrapper {
  display: flex;
  justify-content: center; /* Center the whole block */
  gap: 1.5rem; /* Tighten spacing between columns */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  margin-top: 2rem;
}


.doc-grid-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(26, 26, 26, 0.4); /* semi-transparent dark */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  padding: 1rem;
  border-radius: 10px;
  width: 230px;
  border: 1px solid rgba(255, 255, 255, 0.08); /* subtle border for depth */
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3); /* optional soft shadow */
  transition: transform 0.2s ease-in-out;
}



.doc-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* Less vertical space between cards */
  margin-top: 0.5rem;
}
.doc-grid-section h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  text-align: center;
}
.doc-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem 0;
  justify-content: center; /* Center it under the buttons */
}


.doc-status-item {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #262626;
  color: #e0e0e0;
  border: 1px solid #444;
  box-shadow: inset 0 0 3px #000;
  transition: background-color 0.2s ease;
}


.doc-status-item.ready {
  background-color: #2ecc71;
  color: #fff;
}

.doc-status-item.loading {
  background-color: #f1c40f;
  color: #000;
}

.doc-status-item.error {
  background-color: #e74c3c;
  color: #fff;
}
.slider {
  position: fixed;
  top: 0;
  height: 100%;
  width: 300px;
  background: #1e1e2f;
  color: white;
  padding: 1rem;
  box-shadow: 2px 0 8px rgba(0,0,0,0.5);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  z-index: 1000;
}
.slider.right {
  right: 0;
  left: auto;
  transform: translateX(100%);
}
.slider.left {
  left: 0;
  right: auto;
  transform: translateX(-100%);
}
.slider.open {
  transform: translateX(0);
}
.close-btn {
  background: none;
  color: white;
  font-size: 1.5rem;
  border: none;
  float: right;
  cursor: pointer;
}
.doc-card {
  background: #2b2b3d;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}
.main-doc-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.phase-column,
.doc-grid-section {
  min-width: 200px;
}
.phase-row, .doc-sections-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
  gap: 2rem; /* Or however much space you want between columns */
  width: 100%;
}
.phase-row,
.doc-sections-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: start;
}

.phase-column,
.doc-grid-section {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.phase-column {
  display: flex;
  flex-direction: column;
  align-items: center; /* ensures buttons align to center of column */
}

.phase-column button {
  min-width: 240px;
}
.collapsible-wrapper {
  width: 100%;
  margin-bottom: 2rem;
}

.collapsible-header {
  background-color: #1e1b4b;
  color: white;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
}

.collapsible-header:hover {
  background-color: #4e7a91;
}

.collapsible-content {
  display: none;
  padding-top: 1rem;
  border-left: 3px solid #1e1b4b;
  padding-left: 1rem;
  padding-bottom: 2rem;
}
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.top-logo {
  height: 120px;
  object-fit: contain;
}
#output h1, #output h2, #output h3 {
  font-weight: bold;
  margin-top: 1em;
}

#output ul {
  padding-left: 1.5em;
  list-style-type: disc;
}

#output pre, #output code {
  background: #f5f5f5;
  padding: 0.2em 0.4em;
  font-family: monospace;
  border-radius: 4px;
}
/* Add in your CSS file */
.maestro-theme {
  background-color: #0f0f1a;
  color: #e0e0ff;
}

.maestro-theme .doc-card {
  background-color: #1e1e2e;
  border: 1px solid #555;
}

.maestro-theme button {
  background: #563636;
  color: #fff !important; 
  border: 1px solid #777;
}

.maestro-theme .header-bar{
  background: linear-gradient(to right, #563636, #1a1a2a);
  box-shadow: 0 0 25px 10px rgba(255, 0, 100, 0.3); /* spicy glow */
  transition: box-shadow 0.3s ease-in-out;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 12px 4px rgba(255, 50, 150, 0.3);
  }
  50% {
    box-shadow: 0 0 22px 10px rgba(255, 50, 150, 0.6);
  }
  100% {
    box-shadow: 0 0 12px 4px rgba(255, 50, 150, 0.3);
  }
}

.maestro-theme .header-bar.glow {
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Phase Card Coloring */
.phase-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  background-color: #111;
  padding: 0.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
}

.phase-title.initiation {
  background-color: #dbeafe; /* Light Blue */
  color: #1e3a8a;
}

.phase-title.planning {
  background-color: #fef9c3; /* Pale Yellow */
  color: #92400e;
}

.phase-title.testing {
  background-color: #dcfce7; /* Light Green */
  color: #166534;
}

.phase-title.delivery {
  background-color: #ede9fe; /* Light Purple */
  color: #5b21b6;
}

.phase-title.support {
  background-color: #fce7f3; /* Light Pink */
  color: #831843;
}
.phase-title.arch {
  background-color: #8f9393; /* Light Pink */
  color: #0e0f0f;
}
.header-text {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .header-text {
    flex-direction: column;
    align-items: flex-start;
  }

  .tagline {
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }
}
.user-profile {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #ccc;
  font-size: 0.9rem;
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0.6);
  z-index: 999;
}

.modal-content {
  background-color: #1c1c2a;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
  color: white;
  max-width: 400px;
  width: 80%;
}

.btn-upgrade {
  background-color: #4caf50;
  color: white;
  padding: 0.75rem 1.5rem;
  margin: 1rem 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-close {
  background-color: rgba(85, 85, 85, 0.25);
  color: white;
  padding: 0.75rem 1.5rem;
  margin: 1rem 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}


.hidden {
  display: none;
}
.modal-fade {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}
.modal-fade.show {
  opacity: 1;
  transform: translateY(0);
}
.modal-perks {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1.5rem;
}

.modal-perks li {
  margin-bottom: 0.4rem;
}
.green-button {
  background-color: rgba(37, 83, 47, 0.25);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.green-button:hover {
  background-color: rgba(33, 136, 56, 0.25);
}

#hero-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#hero-banner * {
  position: relative;
  z-index: 2;
}

#hero-banner {
  animation: fadeInHero 1.2s ease-in;
}

@keyframes fadeInHero {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  #hero-banner h1 {
    font-size: 2rem;
  }

  #hero-banner p {
    font-size: 1rem;
  }
}
#logout-button {
  display: none;
}
#upgrade-btn {
  background-color: #4caf50;
  color: white;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-banner {
  font-size: 2.25rem;
  font-weight: 700;
  text-shadow: 0 0 8px #00f0ff;
  padding-top: 2rem;
  padding-bottom: 1rem;
}
textarea {
  background: rgba(255, 255, 255, 0.06); /* Frosted white */
  color: #fff;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  resize: vertical;
  width: 100%;
  min-height: 150px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 10px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #22c55e;
}
.command-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: .5rem;
  margin-bottom: 1rem;
}

.command-row button {
  background-color: rgba(30, 27, 75, 0.25);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.command-row button:hover {
  background-color: rgba(78, 122, 145, 0.25);
}

@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(255, 186, 0, 0.6), 0 0 2px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 186, 0, 0.9), 0 0 6px rgba(255, 255, 255, 0.3);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 186, 0, 0.6), 0 0 2px rgba(255, 255, 255, 0.1);
  }
}


.generate-all-button {
  background: linear-gradient(90deg, rgba(255,153,0,0.2), rgba(255,215,0,0.2));
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  animation: glowPulse 2s infinite ease-in-out;
  transition: transform 0.2s ease;
}

.generate-all-button:hover {
  transform: scale(1.03);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06); /* frosty white */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 12px rgba(0, 0, 0, 0.25);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}


.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(76, 76, 255, 0.4);
  outline: none;
}

::placeholder {
  color: var(--text-muted);
}

#home-logo-btn {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  display: inline-block;
}

#home-logo-btn img {
  width: 100px;  /* Adjust size as needed */
  height: auto;
  cursor: pointer;
}

.glass-signin-btn {
  position: relative;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: white;
  font-weight: 600;
  overflow: hidden;
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

/* Diagonal corner overlay */
.glass-signin-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.85;
  pointer-events: none;
}

/* Ensure text sits above the stripe */
.glass-signin-btn span,
.glass-signin-btn {
  position: relative;
  z-index: 1;
}

/* Google diagonal stripes */
.google-signin::before {
  background: repeating-linear-gradient(
    135deg,
    #ea4335,
    #ea4335 2px,
    #fbbc05 2px,
    #fbbc05 4px,
    #34a853 4px,
    #34a853 8px,
    #4285f4 8px,
    #4285f4 12px
  );
}

/* Microsoft diagonal stripes */
.microsoft-signin::before {
  background: repeating-linear-gradient(
    135deg,
    #22f7fe,
    #36f7f4 2px,
    #018ecf 2px,
    #008dce 4px,
    #0073a9 4px,
    #004a6c 8px,
    #1b3489 8px,
    #240c8d 12px
  );
}

.google-signin::before,
.microsoft-signin::before {
  opacity: 0.15; /* adjust as needed */
}


/* Optional hover effect */
.glass-signin-btn:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.form-input,
.form-textarea {
  width: 100%;
  box-sizing: border-box; /* ensures padding doesn't exceed 100% */
}

.doc-status-item {
  cursor: pointer;
}

.doc-status-item {
  cursor: pointer;
  user-select: none;        /* Prevent text highlight on click */
  transition: background 0.2s ease;
}

.doc-status-item:hover {
  background-color: #3a3a4a; /* or any hover style */
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  z-index: -1;
}

.glass-block {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.glass-block {
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(120, 100, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 60px rgba(150, 120, 255, 0.4);
  }
}
.glass-signin-btn:hover {
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.7), 0 0 20px rgba(0, 200, 255, 0.5);
  transition: box-shadow 0.3s ease;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.glass-agent-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 255, 231, 0.08);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  animation: fadeUp 0.6s ease forwards;
  opacity: 0;
}

.glass-agent-card:hover {
  box-shadow: 0 0 16px rgba(0, 255, 231, 0.2);
  transform: translateY(-4px);
  cursor: pointer;
}

@keyframes fadeUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.avatar-glow {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  padding: 4px;
  background: radial-gradient(circle, #00ffe7 0%, transparent 70%);
}

.avatar-glow img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Modal Styles */
.agent-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  text-align: center;
  color: white;
  animation: fadeUp 0.3s ease forwards;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}
.glass-footer {
  width: 100%;
  position: relative;
  bottom: 0;
  padding: 2rem 1rem;
  background: rgba(17, 24, 39, 0.4); /* dark semi-transparent */
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: #ccc;
  font-size: 0.875rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  z-index: 50;
  margin-top: 2rem;
}

.glass-footer p {
  margin: 0.2rem 0;
  color: #aaa;
}

.footer-top {
  margin-bottom: 1rem;
}

.footer-mid {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #eee;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #88ccff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  color: #999;
}
.footer-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.glass-footer {
  width: 100%;
  margin-top: 1rem;
}
#glass-input-block {
  background: rgba(255, 255, 255, 0.06); /* frosty white layer */
  border-radius: 1rem;
  padding: .5rem;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  color: #eee;
  width: 100%;
  margin: 2rem auto;
  transition: all 0.3s ease-in-out;
}
#glass-input-block input,
#glass-input-block select,
#glass-input-block textarea,
#glass-input-block button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
}
.agent-working-popup {
  position: fixed;
  min-width: 400px;
  max-width: 550px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 12px rgba(0, 255, 231, 0.2);
  color: #ffffff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
}

/* ENTRY ANIMATIONS */
@keyframes slideInFromBottomRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInFromTopRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInFromBottomLeft {
  from { opacity: 0; transform: translateX(-100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInFromTopLeft {
  from { opacity: 0; transform: translateX(-100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInFromTopLeft {
  from { opacity: 0; transform: translate(-100%, -100%); }
  to   { opacity: 1; transform: translate(0, 0); }
}

@keyframes slideInFromTopRight {
  from { opacity: 0; transform: translate(100%, -100%); }
  to   { opacity: 1; transform: translate(0, 0); }
}

@keyframes slideInFromBottomLeft {
  from { opacity: 0; transform: translate(-100%, 100%); }
  to   { opacity: 1; transform: translate(0, 0); }
}

@keyframes slideInFromBottomRight {
  from { opacity: 0; transform: translate(100%, 100%); }
  to   { opacity: 1; transform: translate(0, 0); }
}

@keyframes slideInFromTop {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromBottom {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-100%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
select {
  background-color: #2b2b2b; /* dark gray */
  color: #ffffff;
  border: 1px solid #444;
  border-radius: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-family: 'Rajdhani', sans-serif;
}
