/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* QR code css start */
.flash-notice {
  color: #2e7d32; /* green */
  margin: 0;
  font-weight: 500;
}

.flash-alert {
  color: #d32f2f; /* red */
  margin: 0;
  font-weight: 500;
}

.qr-page {
  height: 100%;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ef 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
}

.qr-box {
  background: #fff;
  padding: 12px;
  border: 1px solid #F0F0F0;
  border-radius: 8px;
  display: inline-block;
  transition: box-shadow 0.2s;
  margin-bottom: 27px;
}

.qr-info {
  color: #425466;
  font-size: 18px;
  margin-bottom: 27px;
}

.qr-error {
  color: #d32f2f;
  font-weight: 600;
  margin-bottom: 18px;
}

.qr-else {
  margin-bottom: 27px;
  position: relative;
  p {
    margin: 0 auto;
    display: inline-block;
    width: auto;
    background-color: #fff;
    padding: 2px 16px;
    position: relative;
    z-index: 9;
  }
}

.qr-else::after {
  content: '';
  height: 1px;
  width: 100%;
  background-color: #f0f0f0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: 0;
}

.qr-slack-btn {
  display: block;
  background: linear-gradient(90deg, #5200FF 1.24%, #CAB1FF 100%);
  color: #fff;
  font-weight: 600;
  border: 2px solid #ffffff;
  border-radius: 30px;
  padding: 19px 22px;
  font-size: 16px;
  cursor: pointer;
  margin: 0 auto 27px;
  transition: all ease-in-out 0.2s;
  text-align: center;
  width: 240px;
  box-sizing: border-box;
}
.qr-slack-btn:hover {
  background: #ffffff;
  border-color: #0065FF;
  color: #0065FF;
}

.qr-slack-btn .default-button, 
.qr-slack-btn span {
  text-decoration: none;
  color: #fff;

}
.qr-slack-btn:hover .default-button, 
.qr-slack-btn:hover span {
  color: #0065FF;
}


.qr-slack-btn svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.qr-notify-message {
  margin-top: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}

.locale-switcher a {
  color: #1a237e;
  text-decoration: none;
  font-weight: 500;
  margin: 0 4px;
}
.locale-switcher .active-locale {
  text-decoration: underline;
  font-weight: 700;
}

.qr-main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.qr-content-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}
.qr-content-right {
  padding: 15px 15px;
  width: 100%;
  text-align: center;
  
}
@media (max-width: 900px) {
  .qr-content-card {
    flex-direction: column;
  }
  .qr-content-right {
    border-right: none;
  }
}
.qr-error .qr-content-card {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e5eaf2;
}
.qr-center-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 18px;
  gap: 27px;
}
/* QR code css end */

.hidden {
  display: none !important;
}
