@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

:root {
    --bg: #f6f7fb;
    --card: #fff;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --primary: #6c63ff;
    --shadow: 0 10px 30px rgba(17,24,39,.06);
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: var(--bg);
    color: var(--text);
}

.page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    min-width: 500px;
    max-width: 780px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.title {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

    .title header {
        font-size: 1.6rem;
        font-weight: 600;
        letter-spacing: .2px;
    }

.subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: .95rem;
}

.form {
    margin-top: 18px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.input-box {
    width: 100%;
}

    .input-box.full {
        grid-column: 1 / -1;
    }

    .input-box label {
        display: block;
        font-size: .9rem;
        font-weight: 500;
        color: #374151;
    }

/* ASP.NET TextBox */
.tb {
    width: 100%;
    height: 46px;
    margin-top: 8px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-size: .98rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .tb::placeholder {
        color: #9ca3af;
    }

    .tb:focus {
        border-color: rgba(37,99,235,.65);
        box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }

.actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: center;
}

.btn {
    height: 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .2px;
    transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
}

    .btn.primary {
        background: var(--primary);
        color: #fff;
    }

        .btn.primary:hover {
            filter: brightness(.98);
            transform: translateY(-1px);
        }

        .btn.primary:active {
            transform: translateY(0);
        }

    .btn.ghost {
        background: #fff;
        color: #111827;
        border: 1px solid var(--line);
    }

        .btn.ghost:hover {
            background: #f9fafb;
            transform: translateY(-1px);
        }

        .btn.ghost:active {
            transform: translateY(0);
        }

.hint {
    grid-column: 1 / -1;
    margin-top: 4px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.4;
}

@media (max-width:720px) {
    .container {
        padding: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .input-box.full {
        grid-column: auto;
    }

    .actions {
        grid-template-columns: 1fr;
    }
}
