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

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

::selection {
    background: #000;
    color: #fff;
}

body {
    background: #f9f9f9;
}

/* ---------- Wrapper ---------- */
.wrapper {
    max-width: 420px;
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* ---------- Title ---------- */
.wrapper .title-text h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

/* ---------- Fields ---------- */
.form-inner .field {
    width: 100%;
    margin-bottom: 18px;
}

.form-inner .field input {
    height: 48px;
    width: 100%;
    outline: none;
    padding: 0 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-inner .field input:focus {
    border-color: #000;
}

/* ---------- Buttons ---------- */
form .btn {
    height: 50px;
    width: 100%;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    margin-top: 5px;
}

form .btn .btn-layer {
    height: 100%;
    width: 300%;
    position: absolute;
    left: -100%;
    background: linear-gradient(90deg, #000, #111, #000);
    border-radius: 6px;
    transition: all 0.4s ease;
}

form .btn:hover .btn-layer {
    left: 0;
}

form .btn input[type="submit"] {
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
    background: none;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
}

/* ---------- Extra Styling ---------- */
p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #444;
}

label {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    display: block;
    text-align: left;
    margin-bottom: 6px;
}

/* ---------- Animation ---------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}