body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(67,126,166,.18), transparent 34%),
        linear-gradient(135deg, #f7fbff 0%, #eef5fa 100%);
}

.dy-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}

.dy-auth-card {
    width: 100%;
    max-width: 460px;
    padding: 34px;
    border-radius: 28px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(148,163,184,.28);
    box-shadow: 0 24px 70px rgba(15,23,42,.13);
}

.dy-auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.dy-auth-logo img {
    width: 230px;
    max-width: 82%;
    height: auto;
}

.dy-auth-title {
    margin: 0 0 10px;
    text-align: center;
    font-size: 32px;
    line-height: 1.1;
    color: #0f172a;
}

.dy-auth-text {
    margin: 0 0 24px;
    text-align: center;
    color: #64748b;
    line-height: 1.55;
}

.dy-auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #0f172a;
}

.dy-auth-form input {
    width: 100%;
    box-sizing: border-box;
    height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid #d7e1ea;
    background: #f8fbfd;
    font-size: 16px;
    outline: none;
}

.dy-auth-form input:focus {
    border-color: #437EA6;
    box-shadow: 0 0 0 4px rgba(67,126,166,.14);
    background: #fff;
}

.dy-auth-btn {
    width: 100%;
    margin-top: 16px;
    height: 56px;
    border: 0;
    border-radius: 18px 18px 8px 18px;
    background: linear-gradient(135deg, #437EA6, #5b9bc6);
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(67,126,166,.32);
}

.dy-auth-btn:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}

.dy-auth-link {
    display: block;
    margin-top: 18px;
    text-align: center;
    color: #437EA6;
    font-weight: 600;
    text-decoration: none;
}

.dy-auth-link:hover {
    text-decoration: underline;
}

.dy-auth-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.dy-auth-alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.dy-auth-alert.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (max-width: 520px) {
    .dy-auth-page {
        padding: 20px 14px;
        place-items: start center;
    }

    .dy-auth-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .dy-auth-logo img {
        width: 200px;
    }

    .dy-auth-title {
        font-size: 26px;
    }

    .dy-auth-text {
        font-size: 14px;
    }
}

.dy-auth-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}