@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap);
.rms-container {
  width: 100vw;
  height: 100vh;
  /* background: aqua; */
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 250px auto;

  /* SIDE BAR */

  aside {
    height: 100vh;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e7eb;

    .logo {
      display: flex;
      align-items: center;
      padding: 0 2rem 3rem;
      font-size: 2.4rem;
      font-weight: bold;
      color: #333;

      img {
        width: 3rem; /* visual size inside the 40x40 container */
        height: 3rem;
        object-fit: contain;
        display: block; /* remove inline-gap */
        margin-left: 20px;
        margin-right: 20px;
      }
    }

    nav {
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      flex: 1;
      padding: 1rem 0rem;

      .dummy {
        flex: 1;
      }

      a {
        display: flex;
        gap: 1.5rem;
        align-items: center;
        padding: 1.5rem 2rem;
        color: #64748b;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 400;
        font-size: 1.5rem;

        &:hover,
        &.active {
          background: #f1f5f9;
          color: #1e293b;
          cursor: pointer;
        }

        svg {
          width: 22px;
          height: auto;
        }
      }
    }
  }

  main {
    height: 100vh;
    overflow: hidden;

    .main {
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;

      &.machine {
        display: flex;
        flex-direction: column;
        width: 100%;
      }
      .main-content {
        flex: 1;
        width: 100%;
        /* padding: 24px; */
        box-sizing: border-box;
        overflow-y: auto;
      }
    }

    /* HEADER */
    .header {
      border-bottom: 1px solid #e5e7eb;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;

      h2 {
        font-size: 20px;
        font-weight: 600;
        color: #1f2937;
        margin: 0;
      }
      .nav-section {
        display: flex;
        align-items: center;
        background: rgba(230, 230, 230, 0.8);
        padding: 0.6rem 0.9rem;
        border-radius: 0.8rem;
        gap: 0.4rem;

        .count-badge-resource {
          padding: 3px 4px;
          border-radius: 999px;
          font-size: 10px;
          font-weight: 600;
          background: rgba(0, 0, 0, 0.08);
        }
        .count-badge-resource:empty {
          visibility: hidden;
        }
        .count-badge {
          padding: 3px 4px;
          border-radius: 999px;
          font-size: 10px;
          font-weight: 600;
          background: rgba(0, 0, 0, 0.08);
        }
        .count-badge:empty {
          visibility: hidden;
        }

        /* All */
        .all {
          color: #64748b;
          background: rgba(148, 163, 184, 0.18);
        }

        /* Unverified */
        .unverified {
          color: #60a5fa;
          background: rgba(59, 130, 246, 0.2);
        }

        /* Verified */
        .verified {
          color: #4ade80;
          background: rgba(34, 197, 94, 0.2);
        }

        /* Rejected */
        .rejected {
          color: #f87171;
          background: rgba(239, 68, 68, 0.2);
        }

        button {
          background: transparent;
          border: none;
          padding: 10px 16px;
          border-radius: 6px;
          cursor: pointer;
          font-size: 14px;
          font-weight: 500;
          color: #6b7280;
          transition: all 0.2s ease;
          display: flex;
          align-items: center;
          gap: 8px;
          white-space: nowrap;

          &:hover {
            background: black;
            color: white;
          }

          &.active {
            background: white;
            color: #1f2937;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
          }

          svg {
            width: 20px;
            height: auto;
          }
        }
      }
    }
  }
}

.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #333;
  transition: all 0.2s ease;
}

/* Hover effect */
.theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
}

.logo {
  margin-top: 12px;
}

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

:root {
  --border: 1px solid #e5e7eb;
}

html {
  scroll-behavior: smooth;
  /* CHANGE FONT SIZE TO PERCENTAGE LATERON */
  font-size: 10px;
  font-family: 'Rubrik';
}

body {
  font-family: 'Rubik', sans-serif;
  background: #f8f9fa;
  margin: 0;
  display: flex;
}

.hide-default {
  display: none !important;
}

/* DEFAULT HIDE CLASS */
.swal2-popup {
  font-size: 16px !important;
}

.text-muted {
  color: grey;
  font-size: 1.4rem;
}

/* 

----SEARCH BAR----
---=TABLE --------

  HOW TO CALL 

  <div class="rms-table">
    <div class="search-container">   </div>
    <table>    </table>
  </div>

*/

.rms-table {
  flex: 1;
  padding: 0;
  max-width: 100%;
  margin: 0;
  overflow-y: auto;

  .search-container {
    position: relative;
    width: 500px;
    margin: 10px auto;
    display: flex;
    align-items: center;

    svg {
      position: absolute;
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
      width: 20px;
      height: 20px;
      color: #94a3b8;
      z-index: 1;
    }

    input {
      width: 100%;
      padding: 12px 15px 12px 45px;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      font-size: 14px;
      background: white;
      transition: border-color 0.3s ease;
      font-family: 'Rubik';

      &:focus {
        outline: none;
        border-color: #60a5fa;
        box-shadow:
          0 0 0 3px rgba(96, 165, 250, 0.15),
          0 4px 12px rgba(59, 130, 246, 0.12);
      }
    }
  }

  /* TABLE HERE ALL TABLES */
  table {
    width: 100%;
    border-collapse: collapse;

    thead {
      background: #f8fafc;
    }

    thead th {
      padding: 10px 12px;
      text-align: left;
      font-weight: 600;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #64748b;
      border-bottom: 1px solid #e2e8f0;
      cursor: pointer;
      transition: background-color 0.2s ease;
      position: sticky;
      top: 0;
      z-index: 1;

      &:hover {
        background-color: #f1f5f9;
      }

      &.sortable::after {
        content: '↕';
        position: absolute;
        right: 8px;
        color: #cbd5e1;
        font-size: 10px;
      }
    }

    tbody tr {
      border-bottom: 1px solid #dbe4f0;
      transition: background-color 0.2s ease;
      background: white;

      &:hover {
        background-color: #f8fafc;
      }

      &:last-child {
        border-bottom: none;
      }
    }

    tbody td {
      padding: 12px 12px;
      vertical-align: middle;
      font-size: 13px;
    }

    /* EXTRA CLASSES  */
    /* Contact Info Styles */
    .contact-time {
      color: #6b7280;
      font-size: 11px;
    }

    .request-date {
      color: #6b7280;
      font-size: 11px;
    }

    .contact-info {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 600;
      font-size: 13px;

      &.blue {
        background: #3b82f6;
      }
      &.green {
        background: #10b981;
      }
      &.purple {
        background: #8b5cf6;
      }
      &.pink {
        background: #ec4899;
      }
      &.orange {
        background: #f59e0b;
      }
      &.red {
        background: #ef4444;
      }
    }
  }
  .admin-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;

    button {
      padding: 6px 12px;
      font-size: 12px;
      font-weight: 500;
      border-radius: 6px;
      border: 1px solid transparent;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
      outline: none;

      &:active {
        transform: scale(0.97);
      }
    }

    .action-completed {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #94a3b8;
      background-color: #f8fafc;
      padding: 4px 10px;
      border-radius: 4px;
      border: 1px solid #e2e8f0;
    }
  }
}

/* --- 3. Machine List --- */
.machines-flexbar {
  display: flex;
  flex-direction: column;
  padding: 4px;

  width: 420px;

  height: calc(100vh - 90px);

  overflow-y: auto;

  /* padding-right: 14px; */

  border-right: 1px solid #e5e7eb;
}
/* Custom Small Scrollbar */
.machines-flexbar::-webkit-scrollbar {
  width: 4px;
}

.machines-flexbar::-webkit-scrollbar-track {
  background: transparent;
}

.machines-flexbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.machines-flexbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#machines-flexbar {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.machine-item-card {
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;

  padding-left: 20px;
  padding-right: 24px;
  margin: 0;

  border: none;
  border-radius: 0;

  background: transparent;

  transition: background 0.2s ease;
}

.machine-item-card.selected {
  background: rgba(59, 130, 246, 0.05);
  border-left: 3px solid #2563eb;
}
#selected-machine-name {
  margin-top: 0;
  margin-bottom: 10px;
}

.allotments-main-panel {
  flex: 1;
  min-width: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-size: 14px;
}

#selected-machine-name {
  margin-top: 4px;
  font-size: 25px;
  margin-bottom: 10px;
}

#calendar-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.4s ease-out;
  width: 100%;
  height: 100%;
}

.allotments-content {
  width: 100%;
}
/* =============================
   MACHINE TITLE
============================= */
#selected-machine-name {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  text-align: center;
}

/* --- 1. Variables (Centralized Theme) --- */
:root {
  --color-bg: #ffffff;
  --color-border: #e5e7eb;
  --color-text: #1f2937;
  --color-muted: #6b7280;

  --color-available-bg: #dcfce7;
  --color-available-text: #166534;
  --color-available-border: #86efac;

  --color-booked-bg: #fee2e2;
  --color-booked-text: #991b1b;
  --color-booked-border: #fca5a5;

  --radius-main: 12px;
  --transition-fast: 0.2s ease;
}

/* --- 2. Layout & Containers --- */
.allotments-page-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.machines-side-panel {
  flex: 0 0 300px;
}

.allotments-main-panel {
  flex: 1;
  min-width: 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* --- 3. Machine List --- */
.machines-flexbar {
  display: flex;
  flex-direction: column;

  width: 420px;

  height: calc(100vh - 90px);

  overflow-y: auto;

  /* padding-right: 14px; */

  border-right: 1px solid #e5e7eb;
}
/* Custom Small Scrollbar */
.machines-flexbar::-webkit-scrollbar {
  width: 4px;
}

.machines-flexbar::-webkit-scrollbar-track {
  background: transparent;
}

.machines-flexbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

.machines-flexbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

#machines-flexbar {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
}

.machine-item-card {
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;

  padding-left: 14px;
  padding-right: 16px;
  margin: 0;

  border: none;
  border-radius: 0;

  background: transparent;

  transition: background 0.2s ease;
}

.machine-item-card.selected {
  background: rgba(59, 130, 246, 0.05);
  border-left: 3px solid #2563eb;
}
#selected-machine-name {
  margin-top: 0;
  margin-bottom: 10px;
}

/* --- 4. Calendar View --- */
#calendar-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 0.4s ease-out;
}

#inline-calendar-anchor {
  pointer-events: none;
  user-select: none;
}

#inline-calendar-anchor .flatpickr-calendar {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-main);
  box-shadow: none;
}

/* Day Styling: Available (Default) */
#inline-calendar-anchor
  .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay) {
  color: var(--color-available-text);
  background: var(--color-available-bg);
  border-color: var(--color-available-border);
  font-weight: 600;
}

#inline-calendar-anchor .flatpickr-day.booked-date {
  cursor: default;
}

#inline-calendar-anchor .flatpickr-day.flatpickr-disabled.booked-date {
  opacity: 1;
}

#inline-calendar-anchor .flatpickr-day.free-date {
  background: var(--color-available-bg);
  color: var(--color-available-text);
  border-color: var(--color-available-border);
  opacity: 1;
}

#inline-calendar-anchor .flatpickr-day.past-date,
#inline-calendar-anchor .flatpickr-day.flatpickr-disabled.past-date,
#inline-calendar-anchor .flatpickr-day.booked-date.past-date,
#inline-calendar-anchor .flatpickr-day.flatpickr-disabled.booked-date.past-date {
  background: #f3f4f6;
  color: #9ca3af;
  border-color: transparent;
}

/* Reset selection styling */
#inline-calendar-anchor .flatpickr-day.selected {
  background: none;
  border-color: transparent;
}

/* --- 5. Responsive Design --- */
@media (max-width: 980px) {
  .allotments-page-layout {
    flex-direction: column;
  }

  .machines-side-panel {
    width: 100%;
  }

  .machines-flexbar {
    max-height: min(45vh, 420px);
    overflow-y: auto;
  }
}

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

.allotments-calendar-host {
  max-width: 320px;
  margin-bottom: 24px;
}

/* About page styles */

.about-us {
  width: 100%;
  .container {
    padding: 2rem;
  }

  .about-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    padding: 2rem;

    p {
      font-size: 1.6rem;
    }
  }

  span {
    font-size: 1.6rem;
  }

  .footer {
    display: flex;
    flex-direction: column;

    .contributor {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem 1rem;
      gap: 4rem;
      border-block: 1px solid #e5e7eb;

      a {
        text-decoration: none;
        font-size: 1.8rem;
        border: 1px solid #e5e7eb;
        padding: 1rem 2rem;
        border-radius: 6px;
        color: black;

        &:hover {
          cursor: pointer;
          background: black;
          color: white;
        }
      }
    }

    .thanks {
      display: flex;
      flex-direction: column;
      padding: 1rem 2rem;
      gap: 0.5rem;
      justify-content: center;
      text-align: center;

      span {
        font-size: 1.4rem;
      }

      .text-muted {
        color: grey;
      }
      .text-main {
        font-size: 1.5rem;
      }

      .collaborator {
        display: flex;
        gap: 2rem;
        text-align: center;
        justify-content: center;
        a {
          text-decoration: none;
          font-size: 1.5rem;

          &:hover {
            cursor: pointer;
            text-decoration: underline;
          }
        }
      }
    }
  }
}

/* Purpose Panel Styles - Reusable across all portals */
.purpose-panel {
  display: none;
  position: fixed;
  z-index: 1000;
  background-color: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  /* width and height will be set dynamically by JavaScript */
  animation: panelSlideIn 0.2s ease;
}

@keyframes panelSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.purpose-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  background-color: #f9fafb;
  border-radius: 8px 8px 0 0;
}

.purpose-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.purpose-panel-close {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.purpose-panel-close:hover {
  background-color: #e5e7eb;
  color: #374151;
}

.purpose-panel-body {
  padding: 12px 16px;
}

.purpose-panel-body textarea {
  width: 100%;
  height: 200px;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  color: #374151;
  background-color: #f9fafb;
  resize: none;
  box-sizing: border-box;
}

.purpose-panel-body textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* View More Button */
.view-more-btn {
  background: #e9e9e9;
  color: rgb(0, 0, 0);
  border: none;
  text-decoration: underline;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  margin-left: 8px;
  transition: background-color 0.2s ease;
  display: inline-block;
  position: relative;
}

.view-more-btn:hover {
  background: #d1d1d1;
}

.purpose-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.rms-input-box-v2 {
  position: relative;
  width: 100%;
  font-family: 'Rubik';

  input,
  textarea {
    width: 100%;
    padding: 16px 12px 8px;
    font-size: 1.4rem;
    border-radius: 0.6rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Rubik';
    color: black;
    background: unset;
    border: 1px solid #bdbdbd;
    resize: none;

    &:focus {
      border-color: #4a90e2;
      box-shadow: 0 0 8px rgba(74, 144, 226, 0.3);
    }

    &:focus ~ label,
    &:not(:placeholder-shown) ~ label {
      top: 0.4rem;
      left: 1rem;
      font-size: 1.2rem;
    }
  }

  input {
    height: 5.5rem;
  }

  textarea {
    min-height: 12rem;
    padding-top: 2rem;
  }

  label {
    position: absolute;
    top: 1.7rem;
    left: 1.2rem;
    color: #5d5d5d;
    font-size: 1.4rem;
    pointer-events: none;
    padding: 0 0.4rem;
    transition: 0.2s ease all;
    font-family: 'Rubik';
  }

  span {
    position: absolute;
    top: 1.7rem;
    right: 1.2rem;
    color: #999;
    font-size: 1.4rem;
    pointer-events: none;
    padding: 0 0.4rem;
    transition: 0.2s ease all;
    font-family: 'Rubik';

    &.danger {
      color: red;
    }
  }
}

.rms-button button {
  color: white;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;

  display: inline-flex;
  align-items: center;

  transition: all 0.2s ease;
}

.rms-button button:hover {
  transform: translateY(-1px);
}

.rms-action-primary button {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  padding: 11px 18px !important;
}

.rms-action-secondary button {
  background: #f8fafc;
  color: #334155 !important;
}

/* Approve */
.rms-action-approve button {
  background: #166534;
}

.rms-action-approve button:hover {
  background: #14532d;
}
/* Reject */
.rms-action-reject button {
  background: #b91c1c;
}

.rms-action-reject button:hover {
  background: #991b1b;
}
/* Edit */
.rms-action-edit button {
  background: #d97706;
}

.rms-action-edit button:hover {
  background: #b45309;
}
/* Revoke */
.rms-action-revoke button {
  background: #c2410c;
}

.rms-action-revoke button:hover {
  background: #9a3412;
}
/* Gererate Report */
.rms-action-report button {
  color: #166534 !important;
  background: #dcfce7;
}

.rms-action-report button:hover {
  color: #166534 !important;
  background: #bbf7d0;
}
/* Status */
.status-approved,
.status-pending,
.status-rejected,
.status-expired {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}

.status-approved::before,
.status-pending::before,
.status-rejected::before,
.status-expired::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.18;
}

.status-approved::after,
.status-pending::after,
.status-rejected::after,
.status-expired::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid;
  opacity: 0.5;
}

/* approved (green) */
.status-approved {
  color: #27500a;
}
.status-approved::before {
  background: #639922;
}
.status-approved::after {
  border-color: #3b6d11;
}

/* pending (yellow) */
.status-pending {
  color: #633806;
}
.status-pending::before {
  background: #ef9f27;
}
.status-pending::after {
  border-color: #854f0b;
}

/* ── expired (gray) ── */
.status-expired {
  color: #444441;
}
.status-expired::before {
  background: #888780;
}
.status-expired::after {
  border-color: #5f5e5a;
}

/* rejected (red) */
.status-rejected {
  color: #791f1f;
}
.status-rejected::before {
  background: #e24b4a;
}
.status-rejected::after {
  border-color: #a32d2d;
}

.rms-btn-v1 {
  display: flex;
  gap: 0.3rem;
  button {
    font-family: 'Rubik', sans-serif;
    color: white;
    background: #2563eb;
    padding: 1.1rem 1.8rem !important;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 400;
    cursor: pointer;
    border: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;

    &:hover {
      transform: scale(1.01);
    }

    svg {
      margin-right: 1.5rem;
      width: 22px;
      height: auto;
    }

    &.unfill {
      color: #2563eb !important;
      background: unset !important;
      border: solid 1px rgba(37, 98, 233, 0.4);
    }
  }
}

.rms-img-btn {
  display: flex;
  gap: 0.3rem;

  button {
    font-family: 'Rubik', sans-serif;
    color: #6b7280;
    background: rgba(230, 230, 230, 0.8);
    padding: 0.8rem 1.5rem !important;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 400;
    cursor: pointer;
    border: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;

    &:hover {
      transform: scale(1.01);
    }

    svg {
      width: 20px;
      height: auto;
    }

    &.normal:hover {
      background: #166534;
      color: white;
    }

    &.danger:hover {
      background: #b91c1c;
      color: white;
    }

    &.warn:hover {
      background: #d97706;
      color: white;
    }
  }
}

/* =========================
   Teacher Profile Card
========================= */

.profile-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 60%, #eff6ff 100%);
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

/* =========================
   Header Row
========================= */

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;

  margin-bottom: 18px;
}

/* =========================
   Avatar
========================= */

.profile-avatar {
  width: 46px;
  height: 46px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  font-weight: 700;

  color: white;

  background: #2563eb;

  flex-shrink: 0;
}

/* =========================
   Name
========================= */

.profile-name {
  margin: 0;

  font-size: 28px;
  font-weight: 600;

  color: #0f172a;

  line-height: 1.2;
}

/* =========================
   Verification Badge
========================= */

.verification-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 5px 12px;

  border-radius: 10px;

  font-size: 14px;
  font-weight: 600;
}

.verification-badge.verified {
  background: #dcfce7;
  color: #166534;
}

.verification-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.verification-badge.rejected {
  background: #fee2e2;
  color: #991b1b;
}
.verification-badge.status-verified {
  background: #dcfce7;
  color: #166534;
}
.verification-badge.status-pending {
  background: #fef3c7;
  color: #92400e;
}
/* =========================
   Details Row
========================= */

.profile-details-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;

  margin-top: 12px;
  padding-top: 16px;

  border-top: 1px solid #e5e7eb;
}

/* Each info item */

.profile-details-row span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #475569;
  font-size: 15px;
  font-weight: 500;
}

.profile-details-row span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #dbe3ee;
}

.profile-details-row strong {
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

/* =========================
   Pending Verification Box
========================= */

.pending-verification-note {
  margin: 18px 0;

  padding: 16px 18px;

  border-radius: 12px;

  background: #fffbeb;
  border: 1px solid #fde68a;

  color: #92400e;

  font-size: 14px;

  line-height: 1.6;
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {
  .profile-card {
    padding: 20px;
  }

  .profile-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .profile-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .profile-name {
    font-size: 24px;
  }

  .profile-details-row {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Info btns */
.info-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: inherit;
  font-size: 1em;
}
.info-btn:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;

  transform: translateY(-1px);
}

.info-btn i {
  pointer-events: none;
}

.hide-scroll-bar::-webkit-scrollbar {
  display: none;
  background-color: transparent;
  background: transparent;
}

/* width */
.rms-scroll-bar::-webkit-scrollbar {
  width: 3px;
}

/* Track */
.rms-scroll-bar::-webkit-scrollbar-track {
  /* border-radius: var(--border-radius-1); */
}

/* Handle */
.rms-scroll-bar::-webkit-scrollbar-thumb {
  /* background: var(--color-primary); */
  background: black;
  /* border-radius: var(--border-radius-1); */
}

.rms-scroll-bar::-webkit-scrollbar-track-piece:end {
  background: transparent;
  margin-bottom: 10px;
}



/* User Manual */
.info-box {
  font-size: 1.5rem;
  margin-top: 10px;
  margin-bottom: 1rem;

  a {
    text-decoration: none;
    color: black;
    padding: 1rem 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 1rem;

    &:hover {
      cursor: pointer;
      background-color: #2563eb;
      color: white;
      /* font-size: 1.8rem; */
    }
  }
}

/* @import url('./home.footer.css'); */

body {
  font-family: 'Rubik', sans-serif;
}

.container {
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-template-columns: 60% auto;
}

.left-section {
  flex: 1;
  /* background: linear-gradient(135deg, #4c63d2 0%, #2d5aa0 100%); */
  /* background: #282828; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* padding: 4rem; */
  /* color: white; */
  height: 100vh;
  border-right: 1px solid #e5e7eb;
}

.logo {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  font-size: 3.2rem;
  font-weight: 500;
  gap: 4rem;
  /* color: white; */
  margin-left: 3rem;
}

.logo::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 0.5rem;
  /* background-image: url('../../assets/images/UIET-logo.png'); */
  background-image: url(3de98addb77af77fa236.png);
  background-size: contain; /* scale image to fit */
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle; /* align with text */
}

.dummy {
  flex: 1;
}
.hero-text {
  margin-left: 3rem;
}

.hero-text h1 {
  font-size: 6.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text .highlight {
  color: #ffd700;
  font-weight: 400;
}

/* .cloud-icon {
  width: 200px;
  height: 150px;
  position: relative;
  margin-top: 2rem;
} */
/* 
.cloud-storage {
  width: 160px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  backdrop-filter: blur(10px);
} */

/* .cloud-storage::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 10px;
  right: 10px;
  height: 25px;
  background: #ffd700;
  border-radius: 12px;
} */

.right-section {
  flex: 1;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.login-form {
  /* width: 100%; */
  max-width: 500px;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 3.6rem;
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-header p {
  color: #718096;
  font-size: 1.6rem;
}

.role-selector {
  display: flex;
  background: #f7fafc;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 4rem;
  border: 1px solid #e2e8f0;
}

.role-option {
  flex: 1;
  padding: 1rem 3rem;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.5rem;
  font-weight: 400;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  svg {
    width: 20px;
    height: auto;
  }
}

.role-option.active {
  background: white;
  color: #4c63d2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.role-option:hover {
  color: #4c63d2;
}

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

.form-group label {
  display: block;
  margin-bottom: 1rem;
  color: #4a5568;
  font-size: 1.4rem;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 1.4rem 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1.4rem;
  transition: all 0.2s ease;
  background: white;
  font-family: 'Rubik';
}

.form-group input:focus {
  outline: none;
  border-color: #4c63d2;
  box-shadow: 0 0 0 3px rgba(76, 99, 210, 0.1);
}

.otp-container {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.otp-input {
  width: 50px !important;
  height: 50px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 400;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.otp-input:focus {
  border-color: #4c63d2;
  box-shadow: 0 0 0 3px rgba(76, 99, 210, 0.2);
  outline: none;
}

.otp-input.filled {
  border-color: #4c63d2;
  background: #f8faff;
}

.otp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.resend-otp {
  background: none;
  border: none;
  color: #4c63d2;
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.resend-otp:hover {
  color: #3a52c4;
}

.resend-otp:disabled {
  color: #a0aec0;
  cursor: not-allowed;
  text-decoration: none;
}

.otp-timer {
  font-size: 1.6rem;
  color: #a0aec0;
}

.rms-btn-v1 {
  button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-section {
    min-height: auto;
    padding: 2rem;
    justify-content: flex-start;
  }

  .logo {
    margin-bottom: 1.5rem;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .cloud-icon {
    display: none;
  }

  .right-section {
    padding: 1rem;
  }
}

