@font-face {
    font-family: 'Arkhip';
    font-style: normal;
    font-weight: normal;
    src: local('Arkhip'), url('../fonts/Arkhip_font.woff') format('woff');
}

body {
    font-family:'SF Pro Display','Fira Sans', Arial,sans-serif;
    background-color: #053369;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

form {
    background: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 320px;
    margin-top: 50px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
    width: 94%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #4cae4c;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 8px;
}


.container {
    max-width: 600px;
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.info {
    margin-bottom: 15px;
}

.info label {
    font-weight: bold;
}

.info span {
    display: block;
    margin-top: 5px;
    font-size: 18px;
}

.error_data {
    color: red;
    font-weight: bold;
    text-align: center;
}

.hidden {
    display: none;
}

select {
    margin-bottom: 10px;
    width: 100%;
    height: 34px;
}

.qrImage {
    width: 300px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-container label {
    font-weight: normal;
}

h3 {
    text-align: center;
    margin-top: 10px;
}

.passport {
    width: 400px;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0px 0px 40px rgb(255, 255, 255);;
    padding: 0px;
    text-align: center;
    border-radius: 5px;
}

.passport-header {
    position: relative;
    background-color: #ffffff;
    color: #0192ad;
    padding-bottom: 20px;
    border-radius: 5px;
}

.passport-header img {
    width: 100%;
    border-radius: 5px;
}

.passport-title {
    font-size: 18px;
    font-weight: normal;
    margin: 10px 0;
    text-transform: uppercase;
    font-family: 'Arkhip';
    font-style: normal;
}

.passport-details {
    color: #444444;
    font-size: 20px;
    margin-bottom: 24px;
}

.passport-details .name {
    font-size: 32px;
    font-weight: bold;
    color: #ee0a0a;
    font-family: 'Arkhip';
    margin-bottom: 20px;
}

.passport-details .id {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 38px;
}

.passport-details .sailor-id-title {
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'Arkhip';
    font-style: normal;
    font-weight: normal;
}
.passport-details .sailor-id {
    font-size: 22px;
    display: flex;
    justify-content: center;
    margin-top: 10px;

}
.passport-details .sailor-id img {
    width: 10%;
    padding-right: 20px;
}


.footer {
    background-color: #00355e;
    color: white;
    padding: 20px 0;
    font-size: 16px;
    text-transform: uppercase;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    font-family: 'Arkhip';
    font-style: normal;
    font-weight: normal;
}

.hidden {
    display: none;
}

.suggestions {
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    display: none;
    position: absolute;
    background-color: white;
    z-index: 1000;
    padding: 5px;
}
.suggestion-item {
    padding: 10px 0px 10px 0px;
    cursor: pointer;
}
.suggestion-item:hover,
.suggestion-item.selected {
    background-color: #f0f0f0;
}
.textarea-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 20px auto;
}

.textarea-wrapper textarea {
    width: 92%;
    min-height: 50px;
    padding: 10px;
    font-size: 12px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.textarea-wrapper textarea:focus {
    outline: none;
    border: 2px solid #007BFF;
}

.notification {
        text-align: center;
        margin: 20px auto;
        background-color: white;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: row;
        font-size: 24px;
}

.notification>p {
    padding: 20px 10px;
}

.notification>.success {
    color: #007211;
    font-size: 18px;
    margin: auto;
}

.notification>.error {
    color: #b00200;
    font-size: 18px;
    margin: auto;
}


p>input[type="text"],
p>input[type="email"],
p>input[type="tel"],
p>input[type="date"] {
    display: inline;
    width: auto;
    margin-bottom: 10px;
    border: none;
    border-bottom-width: medium;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
    border-bottom: 1px solid #ccc;
    background: none;
    outline: none;
    font-size: 16px;
    padding: 2px;
    border-radius: 0;
    min-width: 50px;
}

.consent-container {
    width: auto;
    border: 0;
    margin: 0 auto;
    padding: 20px;
}
#registrationForm {
    width: auto;
    max-width: 700px;
    text-align: justify;
    line-height: 24px;
}

#registrationForm h2 {
    font-family: 'Arkhip', sans-serif;
    color: #F1582A;
    margin: 0;
}

#registrationForm h3 {
    margin-top: 4px;
    font-family: 'Arkhip', sans-serif;
    color: #F1582A;
}

#registrationForm>p>input {
    margin-bottom: 0;
}

#registrationForm .checkbox-container input[type="checkbox"] {
    margin-top: 5px;
}

.orangeBtn {
    background-color: #F1582A;
    border-radius: 0;
    color: #fff;
}

.orangeBtn:hover {
    background-color: #FF7B54;
}