/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/OSL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 */

#demo-login-error {
  margin-bottom: 1rem;
}

.demo-language-selection {
  text-align: center;
  margin-bottom: 1.5rem;
}

.demo-language-selection h4 {
  margin-bottom: 1rem;
}

.demo-language-title {
  margin-bottom: 1rem;
  color: #6c868e;
}

.demo-languages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-language-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: transform 0.15s;
}

.demo-language-btn:focus,
.demo-language-btn:hover {
  transform: translateY(-1px);
}

.demo-language-btn .flag-icon {
  font-size: 1.25rem;
}

.demo-language-hint {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: #9eaeb7;
}

.demo-toggle {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.demo-toggle-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: #9eaeb7;
}

.demo-contact {
  margin-top: 1rem;
  padding: 0.75rem;
  border: 1px solid #e3e6e8;
  border-radius: 4px;
  background-color: #f8f9fa;
}

.demo-contact-text {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: #4c6a78;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

#manual-login-wrapper {
  margin-top: 1.5rem;
}

.manual-login-card {
  border: 1px solid #e3e6e8;
  border-radius: 6px;
  padding: 1.5rem;
  background: #fff;
}

.manual-shop-name {
  text-align: center;
  margin-bottom: 0.75rem;
}

.manual-login-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  color: #4c6a78;
}

.manual-demo-accounts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.demo-account-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
}

.demo-account-link:focus,
.demo-account-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.demo-password-note {
  font-size: 0.9rem;
  color: #4c6a78;
}

.manual-login-form .form-group:last-of-type {
  margin-bottom: 0.5rem;
}

.manual-login-footer {
  margin-top: 0.5rem;
  text-align: center;
}

.manual-login-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .demo-languages {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .demo-language-btn {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .manual-demo-accounts {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

