@tailwind base;
@tailwind components;
@tailwind utilities;


@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }

  label {
    @apply block font-medium;
  }

  input {
    @apply block;
  }

  input[type="submit"] {
    @apply bg-blue-500 text-white px-4 py-2 rounded;
  }

  .field {
    @apply mb-4 ;
  }
}
.password_details_card {
  background-color: transparent;
  padding: 1rem;
  border-radius: 8px;
  width: 100%;
  /* height: 265px; */
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid #3384F7;

  img {
    margin: 0;
    margin-right: 10px;
  }

  .transparent-input {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #CCCCCC0D !important;
    width: 85%;
  }

  .bg-transparent {
    background: transparent !important;
  }

  .password-visibility-button {
    padding: 6px !important;
  }

  pre {
    max-width: 790px;
  }
}
.passwords {
  .search-password-input {
    height: 48px;
    width: 100%;
    border-radius: 8px;
    border: 0;
    background-color: #1F1F1F;
    color: white;

    &:active {
      border: 0;
      outline: none;
    }

    &:focus {
      border: 0;
      outline: none;
    }
  }

  .icon-container {
    width: 65px;
    height: 65px;
    min-width: 65px;
    min-height: 65px;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

  .password-details {
    width: 100%;
    max-height: 65px;
    margin-bottom: 30px;
  }

  .vault-details {
    margin-bottom: 30px;
    width: 170px;
    min-width: 170px;
    max-width: 180px;
    height: 80px;
    max-height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #071A33;
    padding: 16px;

    .icon-container {
      width: 24px;
      height: 24px;
      min-width: 24px;
      min-height: 24px;
      background: transparent;
      height: 100%;
    }

    div {
      font-weight: 600;
    }

    .password-count {
      font-size: 12px;
      color: #3384F7;
      font-weight: 600;
    }
  }
}
.settings {
  .setting-option {
    background-color: #071A33;
    padding: 1rem;
    text-decoration: none;

    &.top-radius {
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

    &.bottom-radius {
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
    }


    .icon-container {
      width: 40px;
      height: 40px;
      min-width: 40px;
      min-height: 40px;
      background: #3384F7;
      color: white;
      font-weight: bold;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    img {
      margin: 0 !important;
    }

    .toggle-switch {
      position: relative;
      width: 50px;
      height: 30px;
      background: rgba(120, 120, 128, 0.16);
      border-radius: 15px;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border: none;
      outline: none;
    }


    .toggle-knob {
      position: absolute;
      top: 2px;
      left: 2px;
      width: 26px;
      height: 26px;
      background: white;
      border-radius: 50%;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

      &.active {
        transform: translateX(20px);
      }
    }
  }
}
.shares_details {
  img {
    margin: 0;
    padding: 0;
  }
}
.vaults {
  .vault-details {
    margin-bottom: 30px;
    width: 170px;
    min-width: 170px;
    max-width: 180px;
    height: 80px;
    max-height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #071A33;
    padding: 16px;

    .icon-container {
      width: 24px;
      height: 24px;
      min-width: 24px;
      min-height: 24px;
      background: transparent;
      height: 100%;

      img {
        margin: 0;
        padding: 0;
        margin-top: 10px;
      }
    }

    div {
      font-weight: 600;
    }

    .password-count {
      font-size: 12px;
      color: #3384F7;
      font-weight: 600;
    }
  }
}
.bottom-nav {
  position: fixed;
  bottom: -5px;
  left: 0;
  right: 0;
  background: #0C0C0C;
  width: 100%;
  height: 90px;

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 90px;
    margin-top: 10px;
    margin-left: 25px;
    margin-right: 25px;
  }

  li {
    display: flex;

    a {
      color: #CCCCCC;
      text-decoration: none;
      text-align: center;
      text-align: -webkit-center;
      height: 47px;
      font-feature-settings: 'liga' off, 'clig' off;
      font-family: "SF Pro Text";
      font-size: 12px;
      font-style: normal;
      font-weight: 600;
      line-height: normal;

      &:visited {
        color: #CCCCCC;
      }

      img {
        margin: 0;
        padding: 0;
        margin-bottom: 10px;
      }

      &.active {
        color: #3384F7;
        text-decoration: none;

        &:visited {
          color: #3384F7;
          text-decoration: none;
        }
      }
    }
  }
}
/* Desktop-specific styles */
/* Only applies to screens 900px and wider */

@media (min-width: 900px) {
  /* ========================================
     DESKTOP NAVIGATION
     ======================================== */
  .desktop-nav {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    border-bottom: 1px solid rgba(51, 132, 247, 0.15);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
  }

  .desktop-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
  }

  .desktop-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .desktop-nav-logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(51, 132, 247, 0.2) 0%, rgba(51, 132, 247, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(51, 132, 247, 0.3);
  }

  .desktop-nav-logo svg {
    width: 24px;
    height: 24px;
  }

  .desktop-nav-title {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #a0c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
  }

  .desktop-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .desktop-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
  }

  .desktop-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
  }

  .desktop-nav-link.active {
    color: #3384F7;
    background: rgba(51, 132, 247, 0.1);
    border-color: rgba(51, 132, 247, 0.2);
  }

  .desktop-nav-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
  }

  .desktop-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .desktop-nav-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .desktop-nav-profile:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(51, 132, 247, 0.3);
  }

  .desktop-nav-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3384F7 0%, #1a5fc9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
  }

  .desktop-nav-user-info {
    display: flex;
    flex-direction: column;
  }

  .desktop-nav-user-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
  }

  .desktop-nav-user-email {
    color: #707070;
    font-size: 0.75rem;
  }

  .desktop-nav-logout {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid rgba(255, 75, 75, 0.2);
    border-radius: 10px;
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .desktop-nav-logout:hover {
    background: rgba(255, 75, 75, 0.2);
    border-color: rgba(255, 75, 75, 0.4);
  }

  .desktop-nav-logout svg {
    width: 20px;
    height: 20px;
  }

  .desktop-nav-signin {
    padding: 10px 24px;
    background: linear-gradient(135deg, #3384F7 0%, #1a5fc9 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .desktop-nav-signin:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(51, 132, 247, 0.4);
  }

  /* ========================================
     PAGE LAYOUT COMPONENTS
     ======================================== */
  .desktop-passwords-page,
  .desktop-vaults-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
  }

  .desktop-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .desktop-page-header-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .desktop-page-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
  }

  .desktop-page-title svg {
    width: 32px;
    height: 32px;
  }

  .desktop-page-subtitle {
    color: #707070;
    font-size: 1rem;
    margin: 0;
    padding-left: 46px;
  }

  .desktop-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #3384F7 0%, #1a5fc9 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
  }

  .desktop-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(51, 132, 247, 0.35);
  }

  .desktop-btn-primary svg {
    width: 18px;
    height: 18px;
  }

  /* ========================================
     PASSWORDS PAGE LAYOUT
     ======================================== */
  .desktop-passwords-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 2rem;
    min-height: calc(100vh - 280px);
  }

  .desktop-passwords-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .desktop-search-form {
    width: 100%;
  }

  .desktop-search-wrapper {
    position: relative;
    width: 100%;
  }

  .desktop-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #606060;
    width: 18px;
    height: 18px;
  }

  .desktop-search-input {
    width: 100%;
    height: 52px;
    padding: 0 20px 0 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    color: white;
    font-size: 0.95rem;
    transition: all 0.2s ease;
  }

  .desktop-search-input::placeholder {
    color: #606060;
  }

  .desktop-search-input:focus {
    outline: none;
    border-color: rgba(51, 132, 247, 0.5) !important;
    background: rgba(51, 132, 247, 0.05);
    box-shadow: 0 0 0 3px rgba(51, 132, 247, 0.1);
  }

  .desktop-passwords-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* ========================================
     PASSWORD CARD
     ======================================== */
  .desktop-password-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .desktop-password-card:hover {
    background: rgba(51, 132, 247, 0.08);
    border-color: rgba(51, 132, 247, 0.25);
    transform: translateX(4px);
  }

  .desktop-password-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(51, 132, 247, 0.15) 0%, rgba(51, 132, 247, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(51, 132, 247, 0.2);
  }

  .desktop-password-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .desktop-password-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .desktop-password-card-title {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desktop-password-card-url {
    color: #3384F7;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desktop-password-card-username {
    color: #707070;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .desktop-password-card-arrow {
    color: #505050;
    transition: all 0.2s ease;
  }

  .desktop-password-card:hover .desktop-password-card-arrow {
    color: #3384F7;
    transform: translateX(4px);
  }

  /* ========================================
     PASSWORD DETAILS PANEL
     ======================================== */
  .desktop-password-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2rem;
    min-height: 400px;
  }

  /* ========================================
     VAULTS GRID
     ======================================== */
  .desktop-vaults-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  /* ========================================
     VAULT CARD
     ======================================== */
  .desktop-vault-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(7, 26, 51, 0.8) 0%, rgba(7, 26, 51, 0.4) 100%);
    border: 1px solid rgba(51, 132, 247, 0.15);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 140px;
  }

  .desktop-vault-card:hover {
    border-color: rgba(51, 132, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(51, 132, 247, 0.1);
  }

  .desktop-vault-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .desktop-vault-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(51, 132, 247, 0.2) 0%, rgba(51, 132, 247, 0.05) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(51, 132, 247, 0.25);
  }

  .desktop-vault-card-icon svg {
    width: 28px;
    height: 28px;
  }

  .desktop-vault-card-arrow {
    color: #404040;
    transition: all 0.2s ease;
  }

  .desktop-vault-card:hover .desktop-vault-card-arrow {
    color: #3384F7;
    transform: translateX(4px);
  }

  .desktop-vault-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
  }

  .desktop-vault-card-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.3px;
  }

  .desktop-vault-card-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3384F7;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .desktop-vault-card-count svg {
    width: 14px;
    height: 14px;
  }

  /* ========================================
     EMPTY STATES
     ======================================== */
  .desktop-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    grid-column: 1 / -1;
  }

  .desktop-empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
  }

  .desktop-empty-state p {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 8px 0;
  }

  .desktop-empty-state span {
    color: #606060;
    font-size: 0.95rem;
  }

  .desktop-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.5rem;
    color: #707070;
  }
}
dialog#confirm {
  background-color: #1f2937;
  border-radius: 0.5rem;
  padding: 1rem;
  width: 400px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  
  &::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
  }

  h2 {
    color: white;
    padding: 20px;
    font-weight: bold;
    font-size: 20px;
  }

  footer {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}
.nav-user-info {
  svg {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .nav-user-info-text {
    color: white;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -2px;
    position: absolute;
    margin-top: -37px;
    margin-left: 10px;

    span {
      margin: 0;
      padding: 0;
    }
  }
}

.nav-greetings {
  color: white;
  text-align: left;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "SF Pro Text";
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-left: 10px;
  margin-bottom: 0;

  .subtitle {
    color: white;
    text-align: left;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "SF Pro Text";
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    opacity: 0.5;
    margin-top: 5px;
  }
}


.back-header {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 75px;
  margin-bottom: 20px;

  h1 {
    margin: 0;
    text-align: center;
    width: 100%;
  }

  a {
    margin-top: 15px;
  }

  .danger-label {
    color: #D63031;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

 @font-face {
  font-family: 'SF Pro Text';
  src: url(/assets/SF-Pro-Display-Regular.otf) format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url(/assets/SF-Pro-Display-Bold.otf) format('opentype');
  font-weight: bold;
  font-style: normal;
}

 @import 'controllers/*';
 @import 'shared/*';


 /* variables */

@keyframes fade-in {
  from {
    opacity: 0;
    margin-top: 10px;
  }
  to {
    opacity: 1;
    margin-top: -35px;
  }
}

:root {
  --primary-color: 0 0% 98%;
  --danger-color: 0 62.8% 30.6%;
}

@media (max-width: 900px) {
  /* View Transition */
  html[data-turbo-visit-direction="forward"]::view-transition-old(root) {
    animation: slide-out 0.25s;
  }

  html[data-turbo-visit-direction="forward"]::view-transition-new(root) {
    animation: slide-in 0.25s;
  }
}

@keyframes slide-out {
  0% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

@keyframes slide-in {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}

@keyframes slide-reverse-in {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0%); }
}


.reverse-animation {
  animation: slide-reverse-in 0.25s;
}

body {
  background-color: #0C0C0C;
  color: white;
  font-family: 'SF Pro Text', roboto;
  margin-bottom: 100px;
}

/* Icon sizes */
svg.icon-sm {
  width: 16px;
  height: 16px;
}

svg.icon-md {
  width: 24px;
  height: 24px;
}

/* All SVGs default size */
svg {
  width: 20px;
  height: 20px;

  font-size: .875rem;
  line-height: 1.25rem;
}

.link svg {
  width: 23px;
}

.login > form {
  min-width: 400px;
}

.text-danger {
  color: rgb(239 68 68/1);
}

.d-none {
  display: none;
}

.cursor-pointer {
  cursor: pointer;
}

.hover-bg-black:hover {
  background-color: black;
}

.bg-transparent {
  background-color: transparent;
}

.mobile-container {
  position: absolute;
  background: rgb(13 17 23 / var(--tw-bg-opacity));
  color: white;
  width: 100vw;
  height: 100vh;
  padding: 0 !important;
  margin-left: -25px;
}

input[type="password"].password-field, input[type="text"].password-field  {
  background-color: #1f2937;
  border-radius: 6px;
  height: 47px;
  border: none;
  color: white;
}

@media (max-width: 767px) {
  input[type="password"].password-field, input[type="text"].password-field  {
    width: 60vw;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  input[type="password"].password-field, input[type="text"].password-field  {
    width: 70vw;
  }
}

@media (min-width: 1024px) {
  input[type="password"].password-field, input[type="text"].password-field  {
    max-width: 100%;
  }
}

.button {
  background-color: hsl(var(--primary-color));
  color: hsl(240 5.9% 10%);
  outline: none;
  text-decoration: none;

  &:hover {
    background-color: hsl(var(--primary-color) / 9);
  }

  &.danger-button {
    background-color: hsl(var(--danger-color));
    color: hsl(var(--primary-color) / 9) !important;
  }

  &.submit-button {
    background-color: #3384F7;
    color: white;
  }
}

.tooltip-text {
  position: absolute;
  background-color: white;
  color: black;
  padding: 5px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-top: -2.5rem;
}

.animation-fade-in {
  animation: fade-in 0.2s ease-in-out;
}

.w-30rem {
  width: 30rem;
}

.card {
  min-width: 100%;
  min-height: 100%;
  margin-left: 1rem;
  padding-left: 1rem;

  @media (max-width: 768px) {
    border: none !important;
    margin-left: 0;
    padding-left: 0;
  }
}

#password_details {
  width: 100%;
}

@media (min-width: 1024px) {
  #password_details {
    margin-left: 1rem;
  }
}

.alert-error {
  color: hsl(var(--danger-color));
  border: 1px solid hsl(var(--danger-color));
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ml-4 {
  margin-left: 1rem;
}

.break-word {
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word; 
}

.break-word-ellipsis {
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .break-word-ellipsis {
    width: 60vw;
    max-width: 60vw;
  }
}

@media (min-width: 1024px) {
  .break-word-ellipsis {
    width: 100%;
    max-width: 100%;
  }
}


.btn {
  display: flex;
  height: 51px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  border-radius: 8px; 
  outline: none;
  text-decoration: none;
}

.w-full {
  width: 100%;
}

.btn-primary {
  background: #3384F7;
  color: white;
}

.btn-danger {
  background: #FF0000;
  color: white;
}

label {
  color: #FFF;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "SF Pro Text";
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  display: flex;
  align-items: anchor-center;

  img { 
    margin: 0 !important;
    margin-right: 10px !important;
  }
}

label + input {
  margin-top: 10px;
}

label + textarea {
  margin-top: 10px;
}

input[type="text"], input[type="url"], input[type="password"] {
  width: 100%;
  height: 48px;
  min-height: 48px;
  flex-shrink: 0;
  border-radius: 8px !important;
  border: 1px solid #3384F7 !important;
  background: transparent !important;
  color: white;
}

textarea {
  width: 100%;
  flex-shrink: 0;
  border-radius: 8px !important;
  border: 1px solid #3384F7 !important;
  background: transparent !important;
  color: white;
}

.text-blue {
  color: #3384F7;
  text-decoration: none;
  outline: none;
}

.text-bold {
  font-weight: 600;
}

select {
  border: 1px solid #3384F7 !important;
}

.ml-6 {
  margin-left: 1.5rem;
}

.primary-button {
  border-radius: .25rem;
  background-color: #3384F7;
  color: white;
}
