/* =========================================
   PDFLooks - Split PDF
   COMPLETE STYLES
   HOME PAGE HEADER + SPLIT TOOL
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background: #ffffff;
  color: #111827;
}


/* =========================================
   HOME PAGE STYLE HEADER
========================================= */

.header {
  width: 100%;
  height: 76px;

  position: fixed;
  top: 0;
  left: 0;

  z-index: 1000;

  display: flex;
  align-items: center;

  padding: 0 42px;

  background: #ffffff;

  border-bottom: 1px solid #eeeeee;

  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.06);
}


/* =========================================
   LOGO
========================================= */

.logo {
  flex-shrink: 0;
}

.logo a {
  display: block;
}

.logo img {
  display: block;

  width: auto;
  height: 55px;
}


/* =========================================
   DESKTOP NAVIGATION
========================================= */

.navigation {
  margin-left: 65px;
}

.navigation ul {
  display: flex;
  align-items: center;

  gap: 30px;

  list-style: none;
}

.navigation a {
  color: #111111;

  font-size: 16px;
  font-weight: 600;

  text-decoration: none;

  transition: color 0.2s ease;
}

.navigation a:hover {
  color: #e5322d;
}


/* =========================================
   HEADER RIGHT
========================================= */

.header-actions {
  margin-left: auto;

  display: flex;
  align-items: center;

  gap: 24px;
}

.header-actions a {
  color: #222222;

  font-size: 16px;
  font-weight: 600;

  text-decoration: none;

  transition: color 0.2s ease;
}

.header-actions a:hover {
  color: #e5322d;
}


/* =========================================
   SIGN UP
========================================= */

.signup-btn {
  min-width: 96px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 18px;

  border-radius: 8px;

  background: #e5322d;

  color: #ffffff !important;

  box-shadow:
    0 5px 14px rgba(229, 50, 45, 0.18);

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.signup-btn:hover {
  background: #c62828;

  color: #ffffff !important;

  transform: translateY(-1px);
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-btn {
  display: none;

  border: none;

  background: transparent;

  color: #111111;

  font-size: 25px;

  cursor: pointer;
}


/* =========================================
   MOBILE MENU
========================================= */

.mobile-menu {
  position: absolute;

  top: calc(100% + 8px);
  right: 18px;

  width: 230px;

  display: none;
  flex-direction: column;

  overflow: hidden;

  background: #ffffff;

  border-radius: 12px;

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.15);
}

.mobile-menu.show-menu {
  display: flex;
}

.mobile-menu a {
  padding: 15px 20px;

  border-bottom: 1px solid #eeeeee;

  color: #111111;

  font-size: 15px;
  font-weight: 600;

  text-decoration: none;
}

.mobile-menu a:hover {
  background: #fff5f5;

  color: #e5322d;
}


/* =========================================
   MAIN SPLIT PAGE
========================================= */

.compress-page {
  width: 100%;

  min-height: calc(100vh - 76px);

  padding-top: 76px;

  display: flex;
  justify-content: center;

  background:
    radial-gradient(
      circle at 8% 10%,
      rgba(237, 28, 36, 0.06) 0,
      rgba(237, 28, 36, 0.06) 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 92% 90%,
      rgba(237, 28, 36, 0.05) 0,
      rgba(237, 28, 36, 0.05) 2px,
      transparent 3px
    ),
    linear-gradient(
      180deg,
      #fff8f8 0%,
      #fffafa 55%,
      #ffffff 100%
    );

  background-size:
    18px 18px,
    18px 18px,
    100% 100%;
}


/* =========================================
   HERO
========================================= */

.hero {
  width: 100%;

  min-height: 650px;

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  padding-top: 105px;
}


/* =========================================
   HERO HEADING
========================================= */

.hero h1 {
  font-size: 62px;

  line-height: 1.1;

  font-weight: 800;

  letter-spacing: -1.8px;

  color: #111111;

  margin-bottom: 28px;
}


/* =========================================
   HERO DESCRIPTION
========================================= */

.hero > p {
  font-size: 23px;

  line-height: 1.65;

  color: #4b5563;

  font-weight: 400;
}


/* =========================================
   INITIAL UPLOAD AREA
========================================= */

.upload-area {
  width: 100%;

  margin-top: 58px;

  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;
}


/* =========================================
   SELECT PDF BUTTON
========================================= */

.select-btn {
  width: 490px;
  height: 145px;

  border-radius: 16px;

  background: #ed1c24;

  color: #ffffff;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 20px;

  font-size: 28px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 10px 25px rgba(237, 28, 36, 0.22);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.select-btn:hover {
  background: #d81720;

  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(237, 28, 36, 0.28);
}

.select-btn:active {
  transform: translateY(0);
}


/* =========================================
   PDF SVG ICON
========================================= */

.file-svg {
  width: 34px;
  height: 34px;

  flex-shrink: 0;
}


/* =========================================
   CLOUD BUTTONS
========================================= */

.cloud-buttons {
  position: absolute;

  left: calc(50% + 275px);

  top: 50%;

  transform: translateY(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 14px;
}

.cloud-btn {
  width: 62px;
  height: 62px;

  padding: 0;

  border: none;

  border-radius: 50%;

  background: #ffffff;

  display: flex;

  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow:
    0 5px 16px rgba(0, 0, 0, 0.10);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cloud-btn:hover {
  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15);
}

.drive-svg {
  width: 28px;
  height: 28px;

  display: block;
}

.dropbox-svg {
  width: 30px;
  height: 30px;

  display: block;
}


/* =========================================
   DROP TEXT
========================================= */

.drop-text {
  margin-top: 28px;

  font-size: 19px !important;

  line-height: 1.5;

  color: #4b5563 !important;
}


/* =========================================
   SELECTED FILES SECTION
========================================= */

.selected-files-section {
  width: min(900px, calc(100% - 40px));

  margin: 45px auto 0;

  padding: 26px;

  background: #ffffff;

  border-radius: 16px;

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.08);

  display: none;
}


/* =========================================
   SELECTED FILES HEADER
========================================= */

.selected-files-header {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 18px;
}

.selected-files-header h2 {
  font-size: 20px;

  font-weight: 700;

  color: #111111;
}

.selected-files-header h2 span {
  color: #666666;

  font-weight: 500;
}

.total-size {
  font-size: 15px;

  color: #555555;
}


/* =========================================
   FILE LIST
========================================= */

.selected-files-list {
  display: flex;

  flex-direction: column;

  gap: 12px;
}


/* =========================================
   FILE CARD
========================================= */

.selected-file-card {
  width: 100%;

  min-height: 82px;

  padding: 12px 16px;

  display: flex;

  align-items: center;

  gap: 16px;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  background: #ffffff;
}


/* =========================================
   PDF FILE ICON
========================================= */

.pdf-file-icon {
  width: 52px;
  height: 58px;

  flex-shrink: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 7px;

  background: #ed1c24;

  color: #ffffff;

  font-size: 14px;

  font-weight: 800;
}


/* =========================================
   FILE INFORMATION
========================================= */

.file-info {
  flex: 1;

  min-width: 0;
}

.file-name {
  font-size: 16px;

  font-weight: 700;

  color: #111111;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}

.file-meta {
  margin-top: 7px;

  font-size: 14px;

  color: #6b7280;
}


/* =========================================
   PREVIEW BUTTON
========================================= */

.preview-btn {
  height: 40px;

  padding: 0 16px;

  border: 1px solid #e1e1e1;

  border-radius: 8px;

  background: #ffffff;

  color: #333333;

  font-size: 14px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.2s ease;
}

.preview-btn:hover {
  border-color: #ed1c24;

  color: #ed1c24;
}


/* =========================================
   REMOVE FILE
========================================= */

.remove-file-btn {
  width: 38px;
  height: 38px;

  border: none;

  background: transparent;

  color: #999999;

  font-size: 25px;

  cursor: pointer;

  transition: 0.2s ease;
}

.remove-file-btn:hover {
  color: #ed1c24;
}


/* =========================================
   DRAG & DROP TEXT
========================================= */

.selected-drop-text {
  width: 100%;

  margin-top: 14px;
  margin-bottom: 4px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 7px;

  color: #777777;

  font-size: 14px;
}

.selected-drop-text .drop-or {
  color: #aaaaaa;
}

.selected-drop-text button {
  padding: 0;

  border: none;

  background: transparent;

  color: #ed1c24;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
}

.selected-drop-text button:hover {
  text-decoration: underline;
}


/* =========================================
   ACTION BUTTONS
========================================= */

.file-actions {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-top: 22px;
}

.add-files-btn,
.compress-btn {
  height: 58px;

  border-radius: 10px;

  font-size: 17px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.2s ease;
}


/* =========================================
   ADD MORE PDFS
========================================= */

.add-files-btn {
  flex: 1;

  border: 1px solid #e5e7eb;

  background: #ffffff;

  color: #ed1c24;
}

.add-files-btn:hover {
  background: #fff5f5;
}

.plus-icon {
  margin-right: 8px;

  font-size: 25px;

  vertical-align: middle;
}


/* =========================================
   SPLIT BUTTON
========================================= */

.compress-btn {
  flex: 1.5;

  border: none;

  background: #ed1c24;

  color: #ffffff;

  box-shadow:
    0 7px 18px rgba(237, 28, 36, 0.20);
}

.compress-btn:hover {
  background: #d81720;
}

.compress-btn:active {
  transform: translateY(1px);
}


/* =========================================
   SELECTED FILE STATE
========================================= */

.compress-page.has-files .hero > h1 {
  display: block;
}

.compress-page.has-files .hero > p {
  display: block;
}

.compress-page.has-files .hero > .upload-area,
.compress-page.has-files .hero > .drop-text {
  display: none;
}

.compress-page.has-files .selected-files-section {
  display: block;
}

.compress-page.has-files .hero {
  padding-top: 55px;
}


/* =========================================
   SPLITTING SCREEN
========================================= */

.compressing-screen {
  display: none;

  width: 100%;

  min-height: 520px;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  text-align: center;

  padding: 70px 20px;
}

.compressing-screen.active {
  display: flex;
}

.compressing-logo {
  font-size: 30px;

  font-weight: 800;

  color: #111111;

  margin-bottom: 55px;
}

.compressing-logo span {
  color: #ed1c24;
}

.compressing-screen h2 {
  font-size: 28px;

  font-weight: 700;

  margin-bottom: 12px;

  color: #111111;
}

.compressing-screen p {
  font-size: 17px;

  color: #6b7280;

  margin-bottom: 35px;
}


/* =========================================
   LOADING SPINNER
========================================= */

.loading-spinner {
  width: 64px;
  height: 64px;

  border-radius: 50%;

  border: 7px solid #eeeeee;

  border-top-color: #ed1c24;

  animation:
    pdfLooksSpin 0.9s linear infinite;
}

@keyframes pdfLooksSpin {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


/* =========================================
   DOWNLOAD SCREEN
========================================= */

.download-screen {
  display: none;

  width: 100%;

  min-height: 520px;

  align-items: center;
  justify-content: center;

  flex-direction: column;

  text-align: center;

  padding: 70px 20px;
}

.download-screen.active {
  display: flex;
}

.download-logo {
  font-size: 30px;

  font-weight: 800;

  color: #111111;

  margin-bottom: 35px;
}

.download-logo span {
  color: #ed1c24;
}

.download-screen h2 {
  font-size: 30px;

  margin-bottom: 12px;
}

.download-message {
  color: #6b7280;

  font-size: 17px;

  margin-bottom: 25px;
}

.download-file-card {
  min-width: 360px;

  padding: 18px 25px;

  background: #ffffff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  margin-bottom: 22px;

  box-shadow:
    0 5px 20px rgba(0,0,0,0.06);
}

.download-file-card strong {
  font-size: 17px;
}

.download-file-card span {
  color: #6b7280;
}

.download-file-card small {
  display: inline-block;

  margin-top: 7px;

  color: #ed1c24;

  font-weight: 600;
}

.download-btn {
  border: none;

  min-width: 360px;
  height: 58px;

  padding: 0 28px;

  border-radius: 10px;

  background: #ed1c24;

  color: #ffffff;

  font-size: 18px;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 8px 20px rgba(237,28,36,0.20);

  transition: 0.2s ease;
}

.download-btn:hover {
  background: #d81720;

  transform: translateY(-1px);
}


/* =========================================
   SCREEN SWITCHING
========================================= */

.compress-page.is-compressing .hero {
  display: none !important;
}

.compress-page.is-downloaded .hero {
  display: none !important;
}

.compress-page.is-downloaded
.compressing-screen {
  display: none !important;
}


/* =========================================
   SPLIT SCREEN STATE
========================================= */

.compress-page.is-splitting
.compressing-screen {
  display: flex !important;
}

.compress-page.is-downloaded
.compressing-screen {
  display: none !important;
}

.compress-page.is-downloaded
.download-screen {
  display: flex !important;
}


/* =========================================
   FOOTER
========================================= */

.footer {
  width: 100%;

  min-height: 78px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #ffffff;

  border-top: 1px solid #eeeeee;
}

.footer p {
  font-size: 16px;

  color: #555555;
}

.footer span {
  color: #ed1c24;

  font-weight: 600;
}

.footer b {
  margin: 0 8px;

  color: #999999;
}


/* =========================================
   GLOBAL DRAG & DROP
========================================= */

body.global-drag-over {
  position: relative;
}

body.global-drag-over::after {
  content: "Drop PDF files anywhere";

  position: fixed;

  inset: 12px;

  border: 3px dashed #ed1c24;

  border-radius: 18px;

  background: rgba(237, 28, 36, 0.04);

  display: flex;

  align-items: center;
  justify-content: center;

  color: #ed1c24;

  font-size: 28px;

  font-weight: 700;

  pointer-events: none;

  z-index: 99999;
}


/* =========================================
   SPLIT ANOTHER PDF BUTTON
========================================= */

.another-pdf-btn {
  min-width: 360px;

  height: 52px;

  margin-top: 14px;

  padding: 0 24px;

  border: none;

  border-radius: 10px;

  background: #2563eb;

  color: #ffffff;

  font-size: 16px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.2s ease;

  box-shadow:
    0 6px 16px rgba(37, 99, 235, 0.20);
}

.another-pdf-btn:hover {
  background: #1d4ed8;

  transform: translateY(-1px);

  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.25);
}

.another-pdf-btn:active {
  transform: translateY(0);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1200px) {

  .header {
    padding: 0 30px;
  }

  .navigation {
    margin-left: 40px;
  }

  .navigation ul {
    gap: 20px;
  }

  .navigation a {
    font-size: 14px;
  }

  .hero {
    padding-top: 85px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero > p {
    font-size: 20px;
  }

  .upload-area {
    margin-top: 45px;
  }

  .select-btn {
    width: 430px;

    height: 125px;

    font-size: 25px;
  }

  .cloud-buttons {
    left: calc(50% + 245px);
  }

}


/* =========================================
   SMALL LAPTOP HEIGHT
========================================= */

@media (min-width: 901px) and (max-height: 850px) {

  .hero {
    min-height: auto;

    padding-top: 55px;

    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: 50px;

    margin-bottom: 18px;
  }

  .hero > p {
    font-size: 19px;

    line-height: 1.5;
  }

  .upload-area {
    margin-top: 35px;
  }

  .select-btn {
    width: 430px;

    height: 105px;

    font-size: 24px;
  }

  .cloud-buttons {
    left: calc(50% + 245px);

    gap: 10px;
  }

  .cloud-btn {
    width: 54px;
    height: 54px;
  }

  .drop-text {
    margin-top: 20px;

    font-size: 17px !important;
  }

  .footer {
    min-height: 65px;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

  /* =========================
     HEADER
  ========================= */

  .header {
    height: 68px;

    padding: 0 16px;
  }

  .logo img {
    height: 45px;
  }

  .navigation {
    display: none;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions > a:first-child {
    display: none;
  }

  .signup-btn {
    min-width: 78px;

    height: 38px;

    padding: 0 12px;

    border-radius: 8px;

    font-size: 13px;
  }

  .menu-btn {
    display: block;

    font-size: 24px;
  }


  /* =========================
     MAIN
  ========================= */

  .compress-page {
    min-height: calc(100vh - 68px);

    padding-top: 68px;
  }


  /* =========================
     HERO
  ========================= */

  .hero {
    min-height: auto;

    padding:
      58px
      16px
      45px;
  }

  .hero h1 {
    font-size: 36px;

    line-height: 1.15;

    letter-spacing: -0.8px;

    margin-bottom: 16px;
  }

  .hero > p {
    max-width: 500px;

    font-size: 16px;

    line-height: 1.55;
  }

  .hero > p br {
    display: none;
  }


  /* =========================
     UPLOAD
  ========================= */

  .upload-area {
    margin-top: 38px;

    gap: 10px;
  }

  .select-btn {
    width: clamp(
      210px,
      70vw,
      290px
    );

    height: 88px;

    border-radius: 12px;

    font-size: 18px;

    gap: 10px;
  }

  .file-svg {
    width: 25px;
    height: 25px;
  }


  /* =========================
     CLOUD BUTTONS
  ========================= */

  .cloud-buttons {
    position: static;

    transform: none;

    gap: 8px;

    flex-shrink: 0;
  }

  .cloud-btn {
    width: 42px;
    height: 42px;
  }

  .drive-svg {
    width: 21px;
    height: 21px;
  }

  .dropbox-svg {
    width: 23px;
    height: 23px;
  }


  /* =========================
     DROP TEXT
  ========================= */

  .drop-text {
    margin-top: 20px;

    font-size: 15px !important;
  }


  /* =========================
     SELECTED FILES
  ========================= */

  .selected-files-section {
    width: calc(100% - 24px);

    margin-top: 25px;

    padding: 18px;

    border-radius: 13px;
  }

  .selected-files-header {
    align-items: flex-start;

    gap: 10px;
  }

  .selected-files-header h2 {
    font-size: 17px;
  }

  .total-size {
    font-size: 13px;

    white-space: nowrap;
  }

  .selected-file-card {
    min-height: 72px;

    padding: 10px;

    gap: 10px;
  }

  .pdf-file-icon {
    width: 44px;
    height: 48px;

    font-size: 12px;
  }

  .file-name {
    font-size: 14px;
  }

  .file-meta {
    margin-top: 4px;

    font-size: 12px;
  }

  .preview-btn {
    height: 34px;

    padding: 0 10px;

    font-size: 12px;
  }

  .remove-file-btn {
    width: 28px;
    height: 28px;

    font-size: 21px;
  }


  /* =========================
     DRAG TEXT
  ========================= */

  .selected-drop-text {
    flex-wrap: wrap;

    font-size: 13px;
  }

  .selected-drop-text button {
    font-size: 13px;
  }


  /* =========================
     ACTION BUTTONS
  ========================= */

  .file-actions {
    gap: 10px;

    margin-top: 18px;
  }

  .add-files-btn,
  .compress-btn {
    height: 50px;

    font-size: 14px;
  }

  .plus-icon {
    font-size: 20px;

    margin-right: 5px;
  }


  /* =========================
     SPLITTING
  ========================= */

  .compress-page.is-splitting
  .compressing-screen {
    min-height: calc(100vh - 128px);
  }

  .compressing-screen {
    min-height: 500px;

    padding:
      50px 20px;
  }

  .compressing-logo {
    font-size: 25px;

    margin-bottom: 30px;
  }

  .compressing-screen h2 {
    font-size: 24px;
  }

  .compressing-screen p {
    font-size: 14px;
  }

  .loading-spinner {
    width: 58px;
    height: 58px;

    border-width: 6px;
  }


  /* =========================
     DOWNLOAD
  ========================= */

  .compress-page.is-downloaded
  .download-screen {
    min-height: calc(100vh - 128px);
  }

  .download-screen {
    min-height: 500px;

    padding:
      50px 20px;
  }

  .download-logo {
    font-size: 25px;

    margin-bottom: 28px;
  }

  .download-screen h2 {
    font-size: 24px;
  }

  .download-message {
    font-size: 14px;
  }

  .download-file-card {
    width: calc(100% - 30px);

    min-width: 0;
  }

  .download-btn {
    width: calc(100% - 30px);

    min-width: 0;

    height: 54px;

    font-size: 15px;
  }


  /* =========================
     ANOTHER PDF
  ========================= */

  .another-pdf-btn {
    width: calc(100% - 30px);

    min-width: 0;

    height: 52px;

    font-size: 15px;
  }


  /* =========================
     FOOTER
  ========================= */

  .footer {
    min-height: 60px;

    padding: 0 12px;
  }

  .footer p {
    font-size: 12px;

    text-align: center;
  }


  /* =========================
     GLOBAL DRAG
  ========================= */

  body.global-drag-over::after {
    inset: 8px;

    border-width: 2px;

    border-radius: 12px;

    font-size: 20px;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 390px) {

  .header {
    padding: 0 12px;
  }

  .logo img {
    height: 42px;
  }

  .signup-btn {
    min-width: 70px;

    padding: 0 9px;

    font-size: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    padding-top: 50px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero > p {
    font-size: 15px;
  }

  .upload-area {
    gap: 8px;
  }

  .select-btn {
    width: calc(100vw - 95px);

    max-width: 245px;

    min-width: 205px;

    height: 82px;

    font-size: 16px;
  }

  .file-svg {
    width: 23px;
    height: 23px;
  }

  .cloud-buttons {
    gap: 7px;
  }

  .cloud-btn {
    width: 39px;
    height: 39px;
  }

  .drive-svg {
    width: 19px;
    height: 19px;
  }

  .dropbox-svg {
    width: 21px;
    height: 21px;
  }

  .drop-text {
    font-size: 14px !important;
  }

  .selected-files-section {
    width: calc(100% - 18px);

    padding: 14px;
  }

  .selected-files-header {
    flex-direction: column;
  }

  .total-size {
    align-self: flex-end;
  }

  .selected-file-card {
    gap: 7px;
  }

  .preview-btn {
    display: none;
  }

  .file-actions {
    flex-direction: column;
  }

  .add-files-btn,
  .compress-btn {
    width: 100%;

    flex: none;
  }

  .download-file-card {
    width: calc(100% - 20px);
  }

  .download-btn {
    width: calc(100% - 20px);
  }

}


/* =========================================
   FINAL SCREEN STATE FIX
========================================= */

.compress-page.is-splitting
.compressing-screen {
  display: flex !important;
}

.compress-page.is-downloaded
.download-screen {
  display: flex !important;
}

.compress-page.is-downloaded
.compressing-screen {
  display: none !important;
}