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

.signup-page {
    width: 100%;
    min-height: 100vh;
    background: #1d1d1d;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.signup-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signup-card {
    width: 430px;
    background: #232323;
    border-radius: 20px;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.signup-logo {
    width: 170px;
    display: block;
    margin: auto;
    margin-bottom: 30px;
}

#displayEmail {
    display: block;       
    margin-top: 4px;      
    word-break: break-word;
}

/* Анимация переключения шагов */
.auth-step {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signup-card h1 {
    text-align: center;
    color: #fff;
    font-family: Manrope, sans-serif;
    font-size: 34px;
}

.signup-subtitle {
    text-align: center;
    color: #a7a7a7;
    margin-top: 14px;
    line-height: 1.6;
}

.signup-subtitle strong {
    color: #fceeda;
    font-weight: 600;
}

.field {
    margin-top: 24px;
}

.field label {
    display: block;
    color: #d5d5d5;
    margin-bottom: 8px;
    font-size: 15px;
}

.field input {
    width: 100%;
    height: 56px;
    background: #171717;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    padding: 0 18px;
    font-size: 17px;
    transition: 0.25s;
}

.field input:focus {
    outline: none;
    border-color: #fceeda;
}


.signup-card button[type="submit"] {
    width: 100%;
    height: 56px;
    margin-top: 30px;
    border: none;
    border-radius: 10px;
    background: #fceeda;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.signup-card button[type="submit"]:hover {
    transform: translateY(-1px);
}

.signup-card button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#registerMessage {
    margin-top: 20px;
    text-align: center;
    font-size: 15px;
    min-height: 24px;
    word-break: break-word;
}

.signup-links {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.signup-links a {
    color: #999;
    text-decoration: none;
    transition: 0.25s;
}

.signup-links a:hover {
    color: #fceeda;
}

.signup-footer {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 15px;
}

.signup-footer a {
    color: #777;
    text-decoration: none;
    margin-right: 25px;
}

.signup-footer a:hover {
    color: #fceeda;
}

.resend-block {
    display: flex;
    justify-content: center
}

#btnResendCode {
    background: transparent;
    border: none;
    color: #4a90e2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    text-align: center;
}

#btnResendCode:hover:not(:disabled) {
    color: #357abd;
    text-decoration: underline;
}

#btnResendCode:disabled {
    color: #888888;
    cursor: not-allowed;
    opacity: 0.7;
}