/* =====================================================
   CyberTAMAGO Main Theme
   Accent Color: Egg Yolk Orange (#ff5722)
   ===================================================== */

   :root {
    --ct-accent: #ff5722;
    --ct-accent-hover: #e64a19;
  }
  
  /* ---------- Typography ---------- */
  .logo {
    font-weight: 800;
    letter-spacing: 0.05em;
  }
  
  /* ---------- Accent text ---------- */
  .text-accent {
    color: var(--ct-accent) !important;
  }
  
  /* ---------- Buttons ---------- */
  .btn-primary {
    background-color: var(--ct-accent);
    border-color: var(--ct-accent);
  }
  
  .btn-primary:hover,
  .btn-primary:focus {
    background-color: var(--ct-accent-hover);
    border-color: var(--ct-accent-hover);
  }
  
  /* Outline button using accent */
  .btn-outline-accent {
    color: var(--ct-accent);
    border-color: var(--ct-accent);
  }
  
  .btn-outline-accent:hover {
    background-color: var(--ct-accent);
    color: #fff;
  }
  
  /* ---------- Navbar ---------- */
  .navbar {
    border-bottom: 3px solid var(--ct-accent);
  }
  
  .navbar-brand {
    font-weight: 800;
    letter-spacing: 0.05em;
  }
  
  .navbar-brand span {
    color: var(--ct-accent);
  }
  
  /* ---------- Cards ---------- */
  .card {
    border-radius: 1rem;
  }
  
  .card-title {
    font-weight: 600;
  }
  
  /* ---------- Badges ---------- */
  .badge-accent {
    background-color: var(--ct-accent);
    color: #fff;
  }
  
  /* ---------- Section styling ---------- */
  .section-accent {
    background-color: #fff3e0;
    border-radius: 1.5rem;
    padding: 2rem;
  }
  
  /* ---------- Links ---------- */
  a {
    color: var(--ct-accent);
  }
  
  a:hover {
    color: var(--ct-accent-hover);
  }
  
  /* ---------- Utility ---------- */
  .rounded-xl {
    border-radius: 1.5rem;
  }
  
  #imagePreview {
    object-fit: cover;
    width: 200px;
    height: 200px;
  }

  a.project {
    display: inline-block;
    padding: 3px 10px;
    margin: 2px 0;
    border-radius: 999px;
  
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
  
    color: var(--ct-accent);
    background: color-mix(in srgb, var(--ct-accent) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--ct-accent) 35%, transparent);
  
    transition:
      background-color 0.15s ease-in-out,
      color 0.15s ease-in-out,
      border-color 0.15s ease-in-out,
      transform 0.1s ease-in-out;
  }
  
  a.project:hover {
    color: #fff;
    background: var(--ct-accent);
    border-color: var(--ct-accent);
  }
  
  a.project:active {
    transform: translateY(1px);
  }
  
  a.project:focus-visible {
    outline: 2px solid var(--ct-accent-hover);
    outline-offset: 2px;
  }
  
  
  .project-description {
    max-height: 7.5rem;          /* ~5 lines */
    overflow-y: auto;
    padding-right: 0.25rem;      /* space for scrollbar */
  }
  
  /* Optional: nicer scrollbar (WebKit only) */
  .project-description::-webkit-scrollbar {
    width: 6px;
  }
  
  .project-description::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 3px;
  }
  
  .organizer-photo{
    width: 60%;
    max-width: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  
  .contact-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    text-decoration: none;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
  }
  
  .contact-link:hover{
    transform: translateY(-1px);
    border-color: var(--ct-accent);
    background: color-mix(in srgb, var(--ct-accent) 18%, transparent);
  }
  
  .contact-icon{
    width: 18px;
    height: 18px;
    display: block;
  }
  
  .organizer-name small{
    opacity: .75;
    font-weight: 400;
  }
  
  .organizer-bio{
    line-height: 1.6;
  }
  
  .photo-wrapper{
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: .5rem;
  }
  
  .photo-thumb{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  /* CFP button */
.btn-ct-cfp {
  background-color: var(--ct-accent);
  border-color: var(--ct-accent);
  color: #fff;
}

.btn-ct-cfp:hover {
  background-color: var(--ct-accent-hover);
  border-color: var(--ct-accent-hover);
  color: #fff;
}

.btn-ct-cfp.disabled,
.btn-ct-cfp:disabled {
  background-color: #ccc;
  border-color: #ccc;
  color: #666;
  pointer-events: none;
}

/* CFP remaining days badge */
.badge-ct-cfp {
  background-color: var(--ct-accent);
  color: #fff;
}

.badge-ct-cfp-closed {
  background-color: #adb5bd; /* bootstrap secondary-ish */
  color: #fff;
}

.list-group-item-warning {
  background-color: rgba(255, 87, 34, 0.12);
}
