/* Анимация для toast-уведомления */
@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
    transform: translateY(10px);
  }

  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-animation {
  animation: fadeInOut 3s ease-in-out forwards;
  pointer-events: none;
}


.tab-button.active {
  background-color: white;
  border-bottom: 2px solid blue;
}

.collection-grid {
  transition: all 0.3s ease;
}


.google-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 24px;
  padding: 10px 24px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #3c4043;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.google-auth-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px 1px rgba(66, 64, 67, 0.15);
}

.google-auth-btn:active {
  background: #f1f3f4;
}

.google-icon {
  width: 18px;
  height: 18px;
}


.VkIdWebSdk__button_reset {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: normal;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
}

.VkIdWebSdk__button {
  background: #0077ff;
  cursor: pointer;
  transition: all .1s ease-out;
}

.VkIdWebSdk__button:hover{
  opacity: 0.8;
}

.VkIdWebSdk__button:active {
  opacity: .7;
  transform: scale(.97);
}

.VkIdWebSdk__button {
  border-radius: 8px;
  width: 100%;
  min-height: 44px;
}

.VkIdWebSdk__button_container {
  display: flex;
  align-items: center;
  padding: 8px 10px;
}

.VkIdWebSdk__button_icon + .VkIdWebSdk__button_text {
  margin-left: -28px;
}

.VkIdWebSdk__button_text {
  display: flex;
  font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
  flex: 1;
  justify-content: center;
  color: #ffffff;
}

/*
#authButtons {
  display: flex;
  gap: 12px;
}*/

#VKIDSDKAuthButton {
  margin-top: 16px; /* Добавляем отступ снизу кнопки VK */
}

.google-auth-btn {
  margin-top: 16px; /* Добавляем отступ сверху кнопки Google */
}

/*#logoutBtn {
  margin-top: 16px; /* Добавляем отступ снизу кнопки VK */
/*}*/

/*google button*/

.gsi-material-button {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}



.yandex-auth-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 8px 16px;
  text-decoration: none;
  color: #000;
  font-family: sans-serif;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
  margin-top: 10px;
  cursor: pointer;
}
.yandex-auth-btn:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.bottom-buttons button.active {
  background-color: #4f46e5; /* или любой другой цвет для выделения */
  color: white;
}


.vk-auth-button {
  background: #0077ff;
  border: none;
  border-radius: 8px;
  width: 48px;        /* Немного увеличил кнопку */
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s ease-out;
  padding: 0;
}

.vk-auth-button:hover {
  opacity: 0.8;
}

.vk-auth-button:active {
  opacity: 0.7;
  transform: scale(0.97);
}

.vk-auth-button svg {
  width: 34px;        /* Размер логотипа как в оригинале */
  height: 34px;
}





.google-auth-button {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s ease-out;
  padding: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.google-auth-button:hover {
  background: #f8f8f8;
}

.google-auth-button:active {
  transform: scale(0.97);
}

.google-auth-button svg {
  width: 24px;
  height: 24px;
}





.yandex-auth-button {
  background: #FC3F1D; /* Красный цвет Яндекс */
  border: none;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s ease-out;
  padding: 0;
}

.yandex-auth-button:hover {
  opacity: 0.9;
  background: #E63517; /* Темнее при наведении */
}

.yandex-auth-button:active {
  transform: scale(0.97);
}

.yandex-auth-button svg {
  width: 32px;
  height: 32px;
}








.mailru-auth-button {
  background: #005FF8; /* Синий цвет Mail.ru */
  border: none;
  border-radius: 8px;
  width: auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0 16px;
  box-shadow: 0 2px 4px rgba(0, 95, 248, 0.2);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.mailru-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mailru-at {
  color: #FFCD00; /* Желтый цвет @ */
  font-size: 24px;
  font-weight: bold;
  margin-right: 2px;
}

.mailru-text {
  color: white;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.mailru-auth-button:hover {
  background: #004ECC;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 95, 248, 0.25);
}

.mailru-auth-button:active {
  transform: scale(0.97);
  box-shadow: 0 1px 2px rgba(0, 95, 248, 0.2);
}




.social-buttons-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 8px;
}





h1 {
            color: #2c3e50;
            margin-bottom: 20px;
        }
        .welcome-text {
            font-size: 18px;
            margin-bottom: 30px;
        }
        .highlight {
            font-size: 20px;
            font-weight: bold;
            color: #e74c3c;
            margin: 25px 0;
        }
        .login-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin: 30px 0;
        }
        .login-btn {
            padding: 12px 20px;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            border: none;
            color: white;
        }
        .google { background-color: #DB4437; }
        .apple { background-color: #000000; }
        .facebook { background-color: #4267B2; }
        .vk { background-color: #4C75A3; }
        .email-btn {
            background: none;
            border: 1px solid #3498db;
            color: #3498db;
            padding: 12px 20px;
            border-radius: 5px;
            margin-top: 15px;
            cursor: pointer;
        }
        .examples-btn {
            display: inline-block;
            margin: 30px 0;
            padding: 12px 25px;
            background-color: #2ecc71;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
        }
        .emoji {
            font-size: 24px;
            margin-right: 5px;
            vertical-align: middle;
        }






        .buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;

  align-items: center;  
  padding: 8px;
        }
        
        button {
            
            font-size: 16px;
            border: none;
            border-radius: 5px;
            
        }
        .try-on {
            background-color: #4CAF50;
            color: white;
        }
        .logout {
            background-color: #f44336;
            color: white;
        }