@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --border: #c9c9c9;
    --border-hover: #5b9cff;
    --bg: #fafafa;
    --ring: rgba(91, 156, 255, .35);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Inter, "Sans Serif";
}

.form-box {
    background-image: url(https://cdn.prod.website-files.com/682c3c878b8044ff6d478f7f/6856ddaae92310d8af8671b3_Rectangle%203.jpg);
    background-position: 50% 100%;
    background-size: cover;
}

.form-box .text-head-form {
    padding: 4.5rem;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.form-box h1 {
    font-size: 26px;
    padding-bottom: 0.5rem;
}

.form-box p {
    font-size: 18px;
}

.form-block {
    padding: 3rem 2rem;
    margin: 5rem 2rem;
    box-shadow: rgb(0, 0, 0.33) 0px 0px 20px -10px;
    background-color: rgb(255, 255, 255);
    border-radius: 2rem;
}

.txt-head-form {
    padding-bottom: 1.75rem;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

.t-form-h {
    padding-bottom: 0.75rem;
    font-size: 26px;
    font-weight: bold;
}

.t-form-tit {
    font-size: 18px;
}

.h-form {
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 1rem;
}

.form-element {
    padding-left: 4.5rem;
    padding-right: 1.5rem;
}

.form-1 {
    display: flex;
    gap: 1rem;
    padding-bottom: 3rem;
}

.form-2 {
    display: flex;
    gap: 1rem;
    padding-bottom: 2rem;
}

input {
    display: block;
    padding: 0.5rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    outline: none;
}


select:invalid {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    outline: none;
    color: #9B9B9B;
}

select {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    outline: none;
}

select option {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    outline: none;
    color: #000;
}

textarea {
    display: block;
    border: 1px solid #ccc;
    outline: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    width: 100%;
    height: 10rem;
    margin-top: 0.5rem;
}

label {
    font-size: 14px;
}

.form-b {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
}

.form-3 {
    display: flex;
    padding-bottom: 1rem;
    gap: 1rem;
}

.txt-form2 p {
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 1rem;
}

.form-b {
    flex: 1 1 0%;
}

.form-bx {
    padding-bottom: 1rem;
}

.form-info-add {
    padding-bottom: 2rem;
}

.upload-box {
    width: 100%;
    padding: 24px 16px;
    margin-top: 0.5rem;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
    flex-direction: column;
    text-align: center;
}

.upload-box:hover {
    border-color: #0073e6;
    background-color: #f0f8ff;
}

.upload-box p {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

#fileLabel {
    user-select: none;
}

#preview-container {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#preview-container img:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.text-about-loxaccess p {
    font-size: 18px;
    color: #717171;
}

.list-for-loxaccess {
    padding: 2rem 4rem;
}

.custom-list li {
    font-size: 16px;
    font-weight: 200;
    color: #979797;
}

.confirm-text {
    padding-bottom: 1.5rem;
    color: #717171;
    font-size: 18px;
}

.confirm-text a {
    font-size: 18px;
}

.confirm-text a {
    color: #717171;
}

.label-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 18px;
}

.check-box-1 {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #007dff;
    cursor: pointer;
}

.check-box {
    padding-bottom: 1.5rem;
}

.privacy-form {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    padding-bottom: 2.25rem;
}

.privacy-form p {
    font-size: 12px;
    font-weight: 500;
}

.btn-form-ppt {
    padding: 1.125rem 2.75rem;
    color: white;
    background-color: #000;
    border: none;
    outline: none;
    border-radius: 0.625rem;
    font-size: 18px;
    cursor: pointer;
}

.btn-form-ppt:hover {
    color: #000;
    background-color: white;
    outline: black solid 1px;
    transition: all 0.3s;
}

.btn-for-form {
    padding-bottom: 4rem;
}

.nav-container input {
    opacity: 0;
}

/* Upload */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

/* Dropzone */
.dropzone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    background: var(--bg);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, box-shadow .2s, background .2s, transform .12s;
    outline: none;
}

.dropzone:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 0 6px var(--ring)
}

.dropzone.is-dragover {
    border-color: var(--border-hover);
    background: #eef5ff;
    box-shadow: 0 0 0 6px var(--ring)
}

.dropzone:focus-visible {
    box-shadow: 0 0 0 6px var(--ring);
    border-color: var(--border-hover)
}

.ghost-btn {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 12px;
}

.ghost-btn svg {
    width: 48px;
    height: 48px;
    stroke: #666;
    fill: none;
    stroke-width: 1.5
}

.dz-text {
    text-align: center;
    line-height: 1.4
}

.dz-text strong {
    font-weight: 700
}

.dz-text small {
    display: block;
    color: #666;
    margin-top: 4px
}

/* Preview grid */
.preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.card {
    position: relative;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .12s, box-shadow .12s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08)
}

.card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block
}

.meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 12px;
    color: #444
}

.remove {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.remove:hover {
    background: rgba(0, 0, 0, .75)
}

.size {
    opacity: .75
}

.text-about-loxaccess {
    padding-left: 4.5rem;
}

.list-for-loxaccess {
    padding-left: 7.5rem;
}

.txt-confirm {
    padding-left: 4.5rem
}

.check-box {
    padding-left: 4.5rem;
}

.privacy-form {
    padding-left: 4.5rem;
}

.btn-for-form {
    padding-left: 4.5rem;
}

/* .btn-form-ppt a {
    text-decoration: none;
    color: #fff;
}

.btn-for-form a:hover {
    color: #000;
} */

@media (max-width: 768px) {
    .text-head-form h1 {
        font-size: 22px;
        text-align: center;
    }

    .text-head-form p {
        font-size: 14px;
        text-align: center;
    }

    .form-box .text-head-form {
        padding: 4.5rem 2rem;
    }

    .t-form-h {
        font-size: 20px;
        text-align: center;
    }

    .t-form-tit {
        text-align: center;
        font-size: 14px;
    }

    .form-element {
        padding: 1rem;
    }

    .form-1 {
        flex-flow: column;
    }

    .form-2 {
        flex-flow: column;
    }

    .form-3 {
        flex-flow: column;
    }

    .text-about-loxaccess p {
        font-size: 16px;
    }

    .custom-list li {
        font-size: 14px;
        font-weight: 400;
    }

    .form-for-checkbox span {
        font-size: 14px;
    }

    .text-about-loxaccess {
        padding: 0 1rem;
    }

    .list-for-loxaccess {
        padding-left: 2rem;
    }

    .txt-confirm {
        padding-left: 1rem;
    }

    .check-box {
        padding-left: 1rem;
    }

    .privacy-form {
        padding-left: 1rem;
    }

    .btn-for-form {
        padding-left: 1rem;
    }

    .list-for-loxaccess {
        padding: 1rem 3rem;
    }

    .btn-form-ppt {
        padding: 1rem 2rem;
    }

    .confirm-text {
        font-size: 16px;
    }
}