/* Global variables */

:root {
  --color1: #8d9b8e;
  --color2: #b9ada3;
  --cyan: #28b1a6;
  --dark-cyan: #16a095;
  --red: #f43753;
  --dark-red: #c70030;
  --white: #fefefe;
  --black: #1c1c1c;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #c0c0c0;
  --gray-700: #616161;
  --gray-900: #212121;
  --black: #1a1a1a;
  --headerHeight: 6.4rem;
  --sidebarWidth: 26rem;
  --sidebarWidthRestant: calc(100% - 26rem);
  --border_radius: 0;
  --background: #f5f5f5;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.12);
  --transition: all 0.2s ease;
}

/* Base styles for HTML */
html {
  font-size: 62.5%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* Headings styling */
h1,
h2,
h3 {
  font-weight: 600;
  color: var(--gray-900);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

/* Body default styles */
body {
  font-size: 1.5rem;
  background-color: var(--background);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header section */
.header {
  background-color: var(--color1);
  display: flex;
  border-bottom: 1px solid var(--gray-700);
  padding: 1.2rem 2.4rem;
  align-items: center;
  justify-content: space-between;
  height: var(--headerHeight);
  max-height: var(--headerHeight);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header_separator {
  margin-top: 5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--gray-900);
  transition: var(--transition);
}

.brand:hover {
  opacity: 0.8;
}

.brand-title {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  text-shadow: none;

  color: var(--white);
}

.brand-image {
  width: 4rem;
  height: 4rem;
}

/* Main content container */
main {
  display: flex;
  min-height: calc(100vh - var(--headerHeight));
  margin-top: var(--headerHeight);
}

/* Button styles */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 500;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  font-size: 1.4rem;
  text-align: center;
  border-radius: var(--border_radius);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.button:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Button variants */
.button-abstract {
  color: var(--gray-900);
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  font-size: 1.4rem;
  padding: 0.8rem 1.6rem;
}

.button-abstract:hover {
  background-color: var(--gray-100);
}

.softdark {
  color: var(--gray-900);
  border: 1px solid var(--gray-700);
  background-color: var(--gray-300);
}

.softdark:hover {
  background-color: var(--gray-400);
}

/* Cyan-themed styles */
.cyan {
  background-color: var(--cyan);
  color: var(--white);
  border-color: var(--gray-300);
}

.cyan:hover {
  background-color: var(--dark-cyan);
  border-color: var(--gray-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cyan-disabled {
  background-color: var(--dark-cyan);
  opacity: 0.6;
  cursor: not-allowed;
}

.red {
  background-color: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.red:hover {
  background-color: var(--dark-red);
  border-color: var(--dark-red);
}

.text-cyan {
  color: var(--cyan);
}

/* Card section style */
.target {
  text-decoration: none;
  padding: 2.4rem;
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  color: var(--gray-900);
  font-size: 1.5rem;
  border-radius: var(--border_radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.target_no_center {
  text-decoration: none;
  padding: 2.4rem;
  border: 1px solid var(--gray-300);
  background-color: var(--white);
  color: var(--gray-900);
  font-size: 1.5rem;
  border-radius: var(--border_radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.target_row {
  flex-direction: row;
  align-items: start;
}

.target:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.target-noshadow {
  text-decoration: none;
  padding: 2rem;
  border: 1px solid var(--gray-300);
  width: fit-content;
  background-color: var(--white);
  color: var(--gray-900);
  font-size: 1.5rem;
  border-radius: var(--border_radius);
}

.target div,
.target-noshadow div {
  max-width: inherit;
}

p {
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  margin: 0.8rem 0;
}

/* Dot button style */
.dot-button {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: 0.8rem;
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.4rem;
  transition: var(--transition);
  cursor: pointer;
  border-radius: var(--border_radius);
}

.dot-button:hover {
  background-color: var(--gray-100);
}

.dot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot i {
  color: var(--cyan);
  font-size: 1rem;
}

.dot-hover > i {
  color: var(--dark-cyan);
}

/* Footer section */
.footer {
  border-bottom: 0;
  border-top: 1px solid var(--gray-300);
}

/* Form styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
  max-width: 42rem;
}

.form input:not([type="checkbox"]),
.form textarea {
  background-color: var(--white);
  color: var(--gray-900);
  padding: 1.2rem;
  border: 1px solid var(--gray-300);
  width: 100%;
  border-radius: var(--border_radius);
  font-size: 1.5rem;
  transition: var(--transition);
}

.form input:not([type="checkbox"]):focus,
.form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.checkbox {
  width: auto;
  margin-right: 0.8rem;
}

.form label {
  font-weight: 500;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.submit {
  margin-top: 0.8rem;
}

.only-screen {
  display: none;
}

@media (min-width: 768px) {
  .only-screen {
    display: block;
  }
}

/* Container styles */
.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.container-align-left {
  justify-content: start;
  align-items: start;
}

.container-between {
  justify-content: space-between;
}

.container_buttons {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 1.2rem;
}

.container-v-center {
  align-items: center;
  justify-content: center;
}

.flex-col {
  flex-direction: column;
}

.m-t-3 {
  margin-top: 3rem;
}

.container-float {
  margin-top: 8rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 50;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 1000;
}

.popup > .target {
  max-width: 50rem;
  width: 100%;
}

/* Error section */
.error-section {
  background-color: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
  padding: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

#passwordInput {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.section {
  max-width: 50rem;
}

.bold {
  font-weight: 600;
}

.light {
  font-weight: 300;
}

.main-content {
  display: flex;
  flex-direction: column;
}

/* Table container */
.table-container {
  width: 100%;
  max-width: 140rem;
  margin: 2rem auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.table-title {
  font-size: 2rem;
  color: var(--gray-900);
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.data-table {
  border: 1px solid var(--gray-300);
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  border-radius: var(--border_radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-scroll {
  overflow-x: auto;
}

.data-table th {
  background-color: var(--gray-100);
  color: var(--gray-900);
  padding: 1.4rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--gray-300);
}

.data-table td {
  padding: 1.4rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}

.data-table tr:hover {
  background-color: var(--gray-50);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.table-scroll-wrapper {
  max-height: 60rem;
  overflow-y: auto;
  display: block;
}

/* Pagination container */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
  padding: 1.6rem;
  background-color: var(--white);
  border-radius: var(--border_radius);
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.pagination-links {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.dot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: var(--border_radius);
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--gray-900);
  font-weight: 500;
  font-size: 1.4rem;
  text-decoration: none;
  transition: var(--transition);
}

.dot:hover {
  background-color: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}

/* User icon */
.user-icon {
  max-width: 20rem;
  border: 1px solid var(--gray-300);
  padding: 1.6rem;
  border-radius: var(--border_radius);
}

/* Square container */
.container-square {
  align-items: center;
  justify-content: center;
  min-height: 40vh;
}

.mtop {
  margin-top: 5rem;
}

/* File manager section */
.main-container {
  display: flex;
  justify-content: space-between;
}

.file_asidebar {
  background-color: var(--white);
  /* margin-top: var(--headerHeight); */
  font-size: 1.5rem;
  padding: 2rem;
  border-right: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 1200px) {
  .file_asidebar {
    width: var(--sidebarWidth);
    height: calc(100vh - var(--headerHeight));
    position: fixed;
    top: var(--headerHeight);
    left: 0;
    overflow-y: auto;
  }
}

.file_iconUser {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
  background-color: var(--gray-50);
}

.file_iconUser img {
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  object-fit: cover;
}

.file_separator {
  border-bottom: 1px solid var(--gray-300);
}

.file_asidebar_section a,
.file_asidebar_section button:not(.button) {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 500;
  padding: 1rem 1.2rem;
  border-radius: var(--border_radius);
  transition: var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1.5rem;
}

.file_asidebar_section a:hover,
.file_asidebar_section button:hover:not(.button) {
  background-color: var(--gray-100);
}

.file_asidebar_section_red a,
.file_asidebar_section_red button {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--red);
  padding: 1rem 1.2rem;
  border-radius: var(--border_radius);
  transition: var(--transition);
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 1.5rem;
}

.file_asidebar_section_red a:hover,
.file_asidebar_section_red button:hover {
  background-color: rgba(229, 57, 53, 0.1);
}

.file_main_content {
  width: 100%;
  overflow-y: auto;
  max-height: calc(100vh - var(--headerHeight));
}

.rfile_main_content {
  width: 100%;
}

.file_main_route {
  margin-top: 1.6rem;
  margin-bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.6rem;
  background-color: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
}

.file_main_route p {
  font-weight: 500;
  color: var(--gray-700);
  margin: 0;
}

.file_main_route i {
  color: var(--cyan);
}

.file_folder_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.file_folder_container_big {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(35rem, 1fr));
  gap: 2rem;
}

.file_folder_big {
  display: flex;
  gap: 1.6rem;
  width: 100%;
  padding: 1.6rem;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  justify-content: start;
}

.file_folder {
  display: flex;
  gap: 1.6rem;
  width: 100%;
  padding: 1.6rem;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.file_folder:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.file_folder_icon img {
  width: 8rem;
  min-width: 8rem;
  height: 8rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
  object-fit: cover;
}

.file_folder_content {
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: start;
  flex: 1;
  gap: 0.8rem;
}

.file_folder_title {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1.6rem;
  max-width: 70%;
  min-width: 0;
  flex: 1;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: anywhere;
}

.file_folder_title:hover {
  color: var(--cyan);
}

/* Popup */
.modal .target {
  min-width: 40rem;
  max-width: 50rem;
  width: 90%;
}

.hidden {
  display: none;
}

.button-none {
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.wmax {
  width: 100%;
}

.w50 {
  width: 50rem;
  max-width: 50rem;
}

.wcustomfit {
  width: 42rem;
  max-width: 90%;
}

.wmax25 {
  max-width: 25rem;
}

.file_container {
  margin: 0 auto;
  width: 100%;
  padding: 2rem;
}

@media (min-width: 1200px) {
  .file_container {
    margin-top: 0;
    margin-left: var(--sidebarWidth);
    width: var(--sidebarWidthRestant);
    padding: 2.4rem;
  }
}

/* File read section */
.rfile_container {
  max-width: 100%;
  min-width: 60%;
  border: 1px solid var(--gray-300);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--border_radius);
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.rfile_data {
  border-bottom: 1px solid var(--gray-300);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem;
  background-color: var(--gray-50);
}

@media (min-width: 600px) {
  .rfile_data {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.rfile_content_container {
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.rfile_multimedia_container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 2rem;
}

.rfile_multimedia {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  border-radius: var(--border_radius);
}

.rfile_content {
  margin: 0;
  padding: 0;
  overflow-y: auto;
}

.rfile_data p {
  margin: 0;
}

/* Animations */
.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 2rem;
  height: 2rem;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 2px;
  border: 3px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.public_files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  gap: 2rem;
}

/* Home */
.main-head {
  max-width: 120rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 3rem;
}

.main-head-logo {
  max-width: 20rem;
}

@media (min-width: 1200px) {
  .main-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 4rem;
  }

  .main-head-logo {
    max-width: 40rem;
  }
}

.main-head h1 {
  font-size: 4.2rem;
  margin-bottom: 1.6rem;
  color: var(--gray-900);
  font-weight: 700;
}

.main-head p {
  font-size: 1.8rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.main-head a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.main-head a:hover {
  color: var(--dark-cyan);
}

.main-head-cont {
  background-color: var(--white);
  padding: 0;
  margin: 0;
  width: 100%;
  border-bottom: 1px solid var(--gray-300);
}

.main-head-menu-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 2rem;
}

.main-head-menu {
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
  margin-top: -2rem;
  z-index: 10;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.main-head-menu-option {
  text-decoration: none;
  color: var(--gray-900);
  text-transform: capitalize;
}

.main-head-menu-option > div {
  width: 100%;
  min-width: 30rem;
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.main-head-menu-option > div:hover {
  background-color: var(--gray-50);
  color: var(--cyan);
}

.main-head-menu > a:last-child > div {
  border-bottom: none;
}

@media (min-width: 1200px) {
  .main-head-menu {
    display: flex;
  }

  .main-head-menu-option > div {
    border-bottom: none;
    border-right: 1px solid var(--gray-200);
  }

  .main-head-menu > a:last-child > div {
    border-right: none;
  }
}

.home-content {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}

.home-content h1 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 3.2rem;
}

.home-file-feed {
  max-width: 120rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
  gap: 2.4rem;
}

.home-file-section {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  width: 100%;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--border_radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.home-file-section:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.home-file-section-flex {
  display: flex;
}

.home-file-image {
  width: 8rem;
  height: 8rem;
  flex-shrink: 0;
}

.home-file-image-cont {
  display: flex;
  justify-content: center;
}

.home-file-desc {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-file-desc p{
  margin: 0;
}

.main-footer {
  background-color: var(--white);
  padding: 4rem 2rem;
  min-height: 10rem;
  margin-top: 10rem;
  border-top: 1px solid var(--gray-300);
  width: 100%;
  display:flex;
  flex-direction: column;
}

.main-footer h2 {
  margin: 0 0 2rem 0;
  color: var(--gray-900);
}

.main-footer h3 {
  margin: 0 0 1.2rem 0;
  color: var(--gray-900);
  font-size: 1.8rem;
}

@media (min-width: 900px) {
  .main-footer-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
  }
}

.main-footer-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.main-footer-contact > a {
  font-weight: 500;
  color: var(--cyan);
  text-decoration: none;
  transition: var(--transition);
}

.main-footer-contact > a:hover {
  color: var(--dark-cyan);
}

.main-footer-contact > p {
  margin: 0;
  color: var(--gray-700);
}

.main-footer-contact > i {
  color: var(--cyan);
  font-size: 2rem;
}

.main-footer-copy {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-300);
  text-align: center;
  color: var(--gray-700);
  font-size: 1.4rem;
}

.control_panel {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
}

@media (min-width: 900px) {
  .control_panel {
    flex-direction: row;
    gap: 3rem;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 1rem;
  height: 1rem;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--border_radius);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--border_radius);
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-700);
}

/* Additional utility classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Disabled state for buttons and inputs */
button:disabled,
input:disabled,
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Link styles */
a {
  transition: var(--transition);
}

/* Image responsiveness */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Selection styling */
::selection {
  background-color: var(--cyan);
  color: var(--white);
}

::-moz-selection {
  background-color: var(--cyan);
  color: var(--white);
}

.dropzone {
  border: 2px dashed #64748b;
  border-radius: 12px;
  padding: 48px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.dropzone.dragover {
  border-color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  transform: scale(1.02);
}

.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  opacity: 0.6;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.dropzone.dragover .icon {
  transform: translateY(-6px);
  opacity: 1;
}

.upload_modal {
  min-width: 40rem;
}
