* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Poppins', sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    overflow: hidden;

    position: relative;

    background-image: url('/Content/background.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

}


/* Overlay */

body::before {

    content: '';

    position: fixed;
    inset: 0;

    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, .20),
            rgba(0, 0, 0, .55));

    z-index: 0;

}


/* Card */

.card {

    position: relative;
    z-index: 2;

    width: 420px;
    max-width: 90%;

    /* tăng khoảng trống trên */

    padding: 220px 35px 35px;

    border-radius: 32px;

    background: rgba(255, 255, 255, .12);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid rgba(255, 255, 255, .25);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .4);

    text-align: center;

}


/* FOXCONN Logo lớn */

.card::before {

    content: '';

    position: absolute;

    top: 15px;
    left: 50%;

    transform: translateX(-50%);

    width: 576px;
    height: 162px;

    background-image:
        url('/Content/foxconn-logo.png');

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    filter:
        drop-shadow(0 10px 25px rgba(37, 99, 235, .35));

}


/* Title */

h2 {

    color: white;

    font-size: 30px;
    font-weight: 600;

    margin-bottom: 10px;

}


.subtitle {

    color: rgba(255, 255, 255, .92);

    font-size: 15px;

    line-height: 1.5;

    margin-bottom: 25px;

}


/* Input */

.input-box {

    position: relative;
    margin-bottom: 16px;

}


.input-box i {

    position: absolute;

    left: 18px;
    top: 18px;

    font-size: 18px;

    color: #3b82f6;

    z-index: 2;

}


.input-box input {

    width: 100%;

    padding: 16px 16px 16px 50px;

    border: none;
    outline: none;

    border-radius: 16px;

    background: rgba(255, 255, 255, .95);

    font-size: 16px;

    transition: .3s;

}


/* tránh zoom iPhone */

input {

    font-size: 16px;

}


.input-box input:focus {

    transform: translateY(-2px);

    box-shadow:
        0 0 0 4px rgba(59, 130, 246, .2);

}


/* Button */

button {

    width: 100%;

    padding: 16px;

    margin-top: 12px;

    border: none;

    border-radius: 16px;

    font-size: 18px;
    font-weight: 600;

    cursor: pointer;

    color: white;

    background:
        linear-gradient(135deg,
            #3b82f6,
            #2563eb);

    transition: .3s;

}


button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(37, 99, 235, .4);

}


button:active {

    transform: scale(.98);

}


button i {

    margin-right: 8px;

}


/* Footer */

.footer {

    margin-top: 20px;

    font-size: 14px;

    color: white;

    opacity: .9;

}


.footer i {

    margin-right: 6px;

}


/* Error */

.error {

    padding: 10px;

    margin-bottom: 15px;

    border-radius: 10px;

    background: rgba(255, 0, 0, .15);

    color: #ffd0d0;

}

.date-row {
    display: flex;
    gap: 10px;
}

.date-row .input-box {
    flex: 1;
}

/* Mobile */

@media(max-width:768px) {

    body {

        background-attachment: scroll;

    }

    .card {

        width: 92%;

        padding: 130px 20px 20px;

        border-radius: 28px;

    }

    .card::before {

        width: 450px;
        height: 126px;

    }

    h2 {

        font-size: 24px;

    }

    .subtitle {

        font-size: 14px;

    }
	
	.input-box {
        margin-bottom: 8px;
    }

    .input-box input {
        padding: 12px 12px 12px 42px;
        font-size: 14px;
    }

    button {
        padding: 12px;
        font-size: 16px;
        margin-top: 8px;
    }

    h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .subtitle {
        margin-bottom: 15px;
    }

}