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

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

body {
    font-family: Inter, sans-serif;
    background: #07090c;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* Grid de fundo */
.background-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Card */
.login-card {
    width: 400px;
    backdrop-filter: blur(6px);
    background: radial-gradient(circle at center, #0f1318 0%, #0b0e11 100%);
    border: 1px solid rgba(0,255,114,0.2);
    border-radius: 18px;
    padding: 40px 35px;
    box-shadow: 0 0 25px rgba(0,255,114,0.12);
    position: relative;
    z-index: 2;
    animation: slideUp .6s ease;
}

/* Logo */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.logo-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(145deg, #00ff95, #00c974);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0b0e11;
    box-shadow: 0 0 20px rgba(0,255,140,0.4);
}

.title {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

    .title span {
        color: #00ff95;
        text-shadow: 0 0 10px rgba(0,255,140,0.6);
    }

.subtitle {
    text-align: center;
    font-size: 14px;
    opacity: .8;
    margin-bottom: 28px;
}

/* Form */
.form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .form label {
        font-size: 13px;
        font-weight: 500;
    }

    .form input {
        height: 42px;
        border-radius: 8px;
        background: #14171c;
        border: 1px solid rgba(255,255,255,0.08);
        padding: 0 12px;
        font-size: 14px;
        color: #fff;
        outline: none;
    }

        .form input::placeholder {
            color: rgba(255,255,255,0.4);
        }

        .form input:focus {
            border-color: #00ff95;
        }

/* Botão */
.btn {
    margin-top: 10px;
    height: 45px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(145deg, #00ff95, #00c974);
    color: #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
}

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

:root {
    --background: hsl(220, 20%, 4%);
    --foreground: hsl(160, 100%, 95%);
    --card: hsl(220, 20%, 8%);
    --card-dark: hsl(220, 20%, 6%);
    --primary: hsl(155, 100%, 45%);
    --primary-dark: hsl(155, 100%, 35%);
    --secondary: hsl(155, 80%, 30%);
    --muted: hsl(220, 10%, 55%);
    --border: hsl(220, 15%, 18%);
    --input: hsl(220, 15%, 12%);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: radial-gradient(ellipse at 50% 0%, hsl(155, 100%, 45%, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, hsl(155, 100%, 45%, 0.05) 0%, transparent 40%), radial-gradient(ellipse at 20% 90%, hsl(200, 100%, 50%, 0.03) 0%, transparent 40%), var(--background);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    color: var(--foreground);
}

    /* Grid pattern */
    body::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(hsl(155, 100%, 45%, 0.03) 1px, transparent 1px), linear-gradient(90deg, hsl(155, 100%, 45%, 0.03) 1px, transparent 1px);
        background-size: 50px 50px;
        pointer-events: none;
    }

/* Floating orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 384px;
    height: 384px;
    background: hsl(155, 100%, 45%, 0.1);
    top: -192px;
    left: -192px;
}

.orb-2 {
    width: 320px;
    height: 320px;
    background: hsl(155, 100%, 45%, 0.05);
    bottom: -160px;
    right: -160px;
    animation-delay: 2s;
}

.orb-3 {
    width: 256px;
    height: 256px;
    background: hsl(180, 100%, 50%, 0.05);
    top: 50%;
    right: -128px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }
}

/* Login card */
.login-card {
    background: linear-gradient(135deg, hsl(220, 20%, 10%, 0.9) 0%, hsl(220, 20%, 6%, 0.95) 100%);
    border: 1px solid hsl(155, 100%, 45%, 0.2);
    box-shadow: 0 25px 80px hsla(220, 30%, 2%, 0.8), 0 0 60px hsla(155, 100%, 45%, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Corner accents */
.corner-accent {
    position: absolute;
    width: 80px;
    height: 80px;
}

    .corner-accent.top-left {
        top: 0;
        left: 0;
        border-left: 2px solid hsl(155, 100%, 45%, 0.3);
        border-top: 2px solid hsl(155, 100%, 45%, 0.3);
        border-radius: 16px 0 0 0;
    }

    .corner-accent.bottom-right {
        bottom: 0;
        right: 0;
        border-right: 2px solid hsl(155, 100%, 45%, 0.3);
        border-bottom: 2px solid hsl(155, 100%, 45%, 0.3);
        border-radius: 0 0 16px 0;
    }

/* Header */
.card-header {
    text-align: center;
    margin-bottom: 32px;
}

.icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: hsl(155, 100%, 45%, 0.2);
    animation: pulse-ring 2s ease-out infinite;
}

    .pulse-ring.delay {
        animation-delay: 1s;
    }

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.icon-circle {
    position: relative;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-circle svg {
        color: var(--background);
        filter: drop-shadow(0 0 8px hsl(155, 100%, 45%, 0.6));
    }

.card-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--foreground);
    text-shadow: 0 0 20px hsl(155, 100%, 45%, 0.5);
    margin-bottom: 8px;
}

    .card-header h1 span {
        color: var(--primary);
    }

.subtitle {
    color: var(--muted);
    font-size: 14px;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .input-group label {
        font-size: 14px;
        font-weight: 500;
        color: var(--foreground);
    }

    .input-group input {
        background: var(--input);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 14px 16px;
        font-size: 15px;
        color: var(--foreground);
        font-family: inherit;
        transition: all 0.3s ease;
    }

        .input-group input::placeholder {
            color: var(--muted);
        }

        .input-group input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px hsl(155, 100%, 45%, 0.3), 0 0 20px hsl(155, 100%, 45%, 0.2);
        }

.login-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--background);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .login-button::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, hsl(155, 100%, 55%) 0%, var(--primary) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .login-button span {
        position: relative;
        z-index: 1;
    }

    .login-button:hover {
        box-shadow: 0 0 30px hsl(155, 100%, 45%, 0.4), 0 0 60px hsl(155, 100%, 45%, 0.2);
        transform: translateY(-2px);
    }

        .login-button:hover::before {
            opacity: 1;
        }

    .login-button:active {
        transform: translateY(0);
    }

/* Bottom decoration */
.bottom-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

    .bottom-decoration .line {
        height: 1px;
        width: 48px;
    }

        .bottom-decoration .line.left {
            background: linear-gradient(to right, transparent, hsl(155, 100%, 45%, 0.3));
        }

        .bottom-decoration .line.right {
            background: linear-gradient(to left, transparent, hsl(155, 100%, 45%, 0.3));
        }

    .bottom-decoration .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: hsl(155, 100%, 45%, 0.5);
    }

.btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.pager {
    margin-top: 28px;
    text-align: center;
}

.dot {
    display: inline-block;
    width: 22px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* some quando não tiver erro */
.validation-summary-valid {
    display: none;
}

/* estilo quando tiver erro */
.validation-summary-errors {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.4;
    background-color: rgba(255, 77, 79, 0.12);
    border-left: 4px solid #ff4d4f;
    color: #d32029;
}

    /* tirar o marcador da UL */
    .validation-summary-errors ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .validation-summary-errors li {
        margin-bottom: 2px;
    }
