@media (max-width: 400px) {
    .title-container {
        padding: 0px 30px;
    }
}

@media (max-width: 576px) {
    .registration-title {
        font-size: 38px;
        text-align: center;
    }
}

.form-container {
    width: 80%;
    margin: auto;
    padding: 70px 50px;
    background-color: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .form-container {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 40px;
    }
}

@media (max-width: 320px) {
    .form-container {
        padding: 20px;
    }
}

.labels {
    font-size: 15px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    color: #474747;
    margin-bottom: 7px;
}

form input:focus,
form select:focus {
    border: 2px solid #007aff !important;
    opacity: 1;
    box-shadow: none !important;
    transition: all 0s ease !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.custom-line {
    color: rgb(135, 135, 135);
}

.payment-subtext {
    color: #626262;
    margin-top: 10px;
}

.scanner-img {
    width: 300px;
    height: auto;
    margin: auto;
}

@media (max-width: 412px) {
    .scanner-img {
        width: 100%;
        height: auto;
    }
}

.payment-section {
    display: none;
}

.file-upload {
    border: 2px dashed #007aff;
    border-radius: 10px;
    padding: 20px 40px;
    text-align: center;
    width: 300px;
    margin: auto;
    background-color: #f9f9ff;
    transition: background 0.3s ease;
}

@media (max-width: 412px) {
    .file-upload {
        width: 100%;
    }
}

.file-upload:hover {
    background-color: #f0f0ff;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007aff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.file-upload label:hover {
    background-color: #006edb;
}

.file-name {
    margin-top: 15px;
    font-style: italic;
    color: #444;
}

.file-error {
    justify-content: center;
}

.form-btn {
    margin-top: 70px;
}

.footer {
    padding-top: 100px;
}

@media (max-width: 576px) {
    .footer {
        padding-top: 50px;
    }
}

/* Errors */
.error {
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #d93025;
    font-size: 15px;
    display: none;
}

.invalid-error {
    display: flex;
}

.invalid-input {
    border-color: #d93025;
}

.invalid-input:focus,
.invalid-input select:focus {
    border-color: #d93025 !important;
}