/*
Author: W3layouts
Author URL: http://w3layouts.com
*/

html {
    scroll-behavior: smooth;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    background: #0f172a;
}

* {
    box-sizing: border-box;
}

/* ------------------ FORM SECTION ------------------ */

.w3l-workinghny-form {
    min-height: 100vh;
    display: grid;
    align-items: center;
    background: url(../images/banner.jpg) no-repeat center;
    background-size: cover;
    position: relative;
}

.w3l-workinghny-form:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    z-index: -1;
}

/* ------------------ FORM BOX ------------------ */

.workinghny-block-grid {
    max-width: 400px;
    margin: auto;
    padding: 40px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* ------------------ HEADINGS ------------------ */

.w3l-workinghny-form h1 {
    font-size: 36px;
    text-align: center;
    color: #0f172a;
    margin-bottom: 10px;
}

.w3l-workinghny-form h2 {
    text-align: center;
    color: #334155;
    margin-bottom: 20px;
}

/* ------------------ INPUT FIELDS ------------------ */

.w3l-workinghny-form input {
    width: 100%;
    padding: 14px 22px;
    margin-bottom: 18px;
    border-radius: 30px;
    border: 2px solid #cbd5e1;
    background: #f8fafc;
    font-size: 16px;
    color: #0f172a;
    outline: none;
}

.w3l-workinghny-form input:focus {
    border-color: #2563eb;
    background: #ffffff;
}

/* ------------------ BUTTON ------------------ */

.w3l-workinghny-form .btn-style {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    border: none;
    background: #2563eb;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.w3l-workinghny-form .btn-style:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* ------------------ CHECKBOX ------------------ */

.check-remaind {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 15px;
    color: #334155;
}

.check-remaind input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: #e5e7eb;
    border-radius: 4px;
}

.check-remaind input:checked ~ .checkmark {
    background: #2563eb;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-remaind input:checked ~ .checkmark:after {
    display: block;
}

.check-remaind .checkmark:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ------------------ LINKS ------------------ */

.w3l-workinghny-form p.already {
    text-align: center;
    margin-top: 20px;
    color: #334155;
}

.w3l-workinghny-form p.already a {
    color: #2563eb;
    font-weight: 700;
}

.w3l-workinghny-form p.already a:hover {
    color: #1e40af;
}

/* ------------------ SOCIAL BUTTONS ------------------ */

.social-media a {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}

.social-media a.fb {
    background: #1877f2;
    color: #fff;
}

.social-media a.tw {
    background: #1da1f2;
    color: #fff;
}

/* ------------------ PLACEHOLDER ------------------ */

::placeholder {
    color: #94a3b8;
}

/* ------------------ RESPONSIVE ------------------ */

@media (max-width: 480px) {
    .workinghny-block-grid {
        padding: 30px 20px;
    }
}
