/* Auth pages (login, recovery) — modern responsive gradient style
   matching the rocksoftapp.com free-trial hero. */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body.auth-page
{
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #fff;
}

.auth-shell
{
    box-sizing: border-box;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background:
        radial-gradient(900px 600px at 80% 30%, rgba(0,172,238,0.55), transparent 70%),
        linear-gradient(135deg, #003366 0%, #0079a8 60%, #00acee 100%);
    background-attachment: fixed;
}

.auth-card
{
    box-sizing: border-box;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 28px 32px;
}

.auth-logo
{
    text-align: center;
    margin-bottom: 4px;
}

.auth-logo img
{
    max-width: 286px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
}

.auth-title
{
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    margin: 4px 0 12px;
}

.auth-field
{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field label
{
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
}

.auth-input
{
    box-sizing: border-box;
    width: 100%;
    padding: 11px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.5);
    background: #ffffff;
    color: #3a3a3a;
    font-family: inherit;
    font-size: 15px;
    text-align: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus
{
    outline: none;
    border-color: #00acee;
    box-shadow: 0 0 0 3px rgba(0, 172, 238, 0.25);
}

.auth-input::placeholder
{
    color: #9aa0a6;
}

.auth-error
{
    min-height: 18px;
    text-align: center;
    font-size: 13px;
    color: #ffd9d9;
    line-height: 1.4;
    margin-top: 2px;
}

.auth-button
{
    appearance: none;
    border: 0;
    width: 100%;
    padding: 12px 16px;
    border-radius: 6px;
    background: #00acee;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.auth-button:hover
{
    background: #0094d9;
}

.auth-button:focus
{
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.auth-button:disabled
{
    background: rgba(255,255,255,0.3);
    cursor: not-allowed;
}

.auth-preloader-row
{
    display: flex;
    justify-content: center;
    padding: 6px 0;
}

.auth-links
{
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    font-size: 14px;
}

.auth-links a
{
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
    display: inline-block;
}

.auth-links a:hover
{
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 480px)
{
    .auth-shell
    {
        padding: 20px 12px;
        background-attachment: scroll;
    }

    .auth-card
    {
        padding: 22px 18px 26px;
    }

    .auth-logo img
    {
        max-width: 220px;
    }

    .auth-title
    {
        font-size: 19px;
    }
}
