/* ================================
   STOCKVERA AUTHENTICATION DESIGN
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.15), transparent 35%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.10), transparent 35%),
        #f8fafc;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1e293b;
}

/* Main container */

.auth-container {
    width: 100%;
    max-width: 460px;
    padding: 25px;
}

/* Authentication card */

.auth-card {
    background: rgba(255, 255, 255, 0.97);

    border: 1px solid #e2e8f0;

    border-radius: 24px;

    padding: 42px;

    box-shadow:
        0 20px 60px rgba(15, 118, 110, 0.12);

    position: relative;
}

/* Top decorative line */

.auth-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 12%;
    right: 12%;

    height: 4px;

    background: linear-gradient(
        90deg,
        #10b981,
        #0f766e,
        #f59e0b
    );

    border-radius: 0 0 10px 10px;
}

/* Logo */

.logo {
    text-align: center;

    margin-bottom: 28px;
}

.logo h1 {
    font-size: 34px;

    font-weight: 800;

    letter-spacing: -1px;

    background: linear-gradient(
        135deg,
        #10b981,
        #0f766e
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo p {
    margin-top: 6px;

    color: #64748b;

    font-size: 14px;
}

/* Heading */

.auth-card h2 {
    text-align: center;

    font-size: 28px;

    margin-bottom: 8px;

    color: #1e293b;
}

.subtitle {
    text-align: center;

    color: #64748b;

    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 30px;
}

/* Form */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 8px;

    color: #334155;
}

.form-group input {
    width: 100%;

    height: 52px;

    padding: 0 16px;

    border: 1px solid #cbd5e1;

    border-radius: 12px;

    background: #ffffff;

    color: #1e293b;

    font-size: 15px;

    outline: none;

    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:hover {
    border-color: #94a3b8;
}

.form-group input:focus {
    border-color: #10b981;

    box-shadow:
        0 0 0 4px rgba(16, 185, 129, 0.12);
}

/* Login button */

.auth-button {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #10b981,
        #0f766e
    );

    color: white;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.auth-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(15, 118, 110, 0.25);
}

.auth-button:active {
    transform: translateY(0);
}

/* Messages */

.message {
    min-height: 24px;

    text-align: center;

    margin-top: 18px;

    font-size: 14px;

    line-height: 1.5;
}

/* Bottom registration link */

.auth-link {
    text-align: center;

    margin-top: 25px;

    color: #64748b;

    font-size: 14px;
}

.auth-link a {
    color: #0f766e;

    font-weight: 700;

    text-decoration: none;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Mobile */

@media (max-width: 520px) {

    .auth-container {
        padding: 15px;
    }

    .auth-card {
        padding: 32px 24px;

        border-radius: 20px;
    }

    .auth-card h2 {
        font-size: 25px;
    }

    .logo h1 {
        font-size: 30px;
    }
}