@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin: 0;
    font-family: 'Roboto', 'Helvetica', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.form-wrapper {
    background-color: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 420px;
}

@media (max-width: 480px) {
    .form-wrapper {
        width: 90%;
        padding: 25px;
    }

    .application-form .row,
    .phone-group {
        flex-direction: column;
    }

    .phone-group {
        gap: 10px;
    }

    .phone-group select,
    .phone-group input {
        width: 100%;
        flex: none;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
}

.application-form .row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.application-form .row > * {
    flex: 1;
}

.application-form input,
.application-form select,
.application-form button {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.application-form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

    .application-form button:hover {
        background-color: #0056b3;
    }

.phone-group {
    display: flex;
    width: 100%;
}

.phone-group select {
    flex: 0 0 30%;
    border-right: none;
    border-radius: 5px 0 0 5px;
}

.phone-group input {
    flex: 0 0 70%;
    border-left: none;
    border-radius: 0 5px 5px 0;
}

.logo {
    display: block;
    margin: 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 20px;
    gap: 20px;
    width: max-content;
}

.flag-icons { 
    display: flex; 
    gap: 10px; 
} 

    .flag-icons .flag { 
        width: 40px; 
        height: 40px; 
    } 

.thank-you {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 40px 0;
}
