@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --yellow-color: #fed15b;
    --blue-color: #23445f;
    --blue-darken-color: #1a202b;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

img {
    max-width: 100%;
}

.arrow {
    width: 64px;
    height: 64px;
}

/* Sections */
section {
    padding: 75px 0;
}
.section-blue {
    background-color: var(--blue-color);
    color: #CFD6E3;
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.section-title h2 {
    font-size: 16px;
    letter-spacing: 4px;
}

.section-blue .section-title h2 {
    color: #CFD6E3;
}

#register h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 50px;
}

#register p {
    margin-top: 30px;
    font-size: 16px;
    line-height: 29px;
}

.yellow {
    color: var(--yellow-color);
}

#register h3 .yellow {
    display: block;
}

#unauthorized .container {
    height: calc(100vh - 150px);
}

/* Header section */

#header p {
    color: #23445f;
    font-size: 16px;
}

#header .container {
    background-image: url('../../../assets/images/header-bg.webp');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: bottom;
}

/* Form */
input[type="text"], input[type="email"], input[type="tel"], select {
    width: 100%;
    border:none;
    border-bottom: 2px solid #CFD6E3;
    background: none;
    outline: none;
    color: #CFD6E3;
    font-size: 20px;
    padding: 10px 0;
    border-radius: 0;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
    color: #CFD6E3;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    box-shadow: none;
    background: none;
    color: #CFD6E3;
    border-color: #CFD6E3;
}

.form-floating>.form-control-plaintext~label::after, 
.form-floating>.form-control:focus~label::after, 
.form-floating>.form-control:not(:placeholder-shown)~label::after, 
.form-floating>.form-select~label::after,
.form-floating>.form-control-plaintext~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label, 
.form-floating>.form-select~label,
.form-floating>label {
    color: #CFD6E3;
    background: none;
    font-size: 20px;
}

.form-floating>label.active {
    font-size: 15px !important;
}

select:focus {
    outline: none;
}
  
select option {
    background-color: white; /* Tło rozwijanego menu */
    color: black; /* Kolor tekstu */
}
  

/* Select2 */

.select2-container--default .select2-selection--single {
    background: none;
    height: 48px;
    border: none;
    border-bottom: 2px solid #CFD6E3;
    border-radius: 0;
    color: #CFD6E3;
    font-size: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    color: #CFD6E3;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translate(0, -50%);
}

.select2-container {
    width: 100% !important;
}

.select2-dropdown {
    background: #1B212C;
    border: none;
    color: white;
}

.select2-search__field {
    background: none;
    border: none;
    border-bottom: 2px solid white;
    color: white;
}

.select2-container--default .select2-results__option--selected,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #fed15b;
    color: #1B212C;
}

/* Label */

.form-label-min {
    height: 10px;
    padding: 0;
    margin: 10px 0 0 10px;
    font-size: 15px;
}

.form-label-large {
    font-size: 20px;
    color:#CFD6E3;
    margin-bottom: 20px;
}

.error {
    color: red;
    font-size: 14px;
    display: none;
}

.required {
    color: red;
}

.button-group {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.button-group button {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    color: #fed15b;
    transition: all 0.3s;
}

.button-group button:hover {
    cursor: pointer;
    transform: scale(1.1);
}

/* Menu */

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

nav li {
    display: inline;
    margin-right: 25px;
    font-size: 16px;
    color: #23445f;
}

nav li a {
    text-decoration: none;
    color: #23445f;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

nav li a:hover {
    border-bottom: 2px solid #fed15b;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--yellow-color);
    color: #535353;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #535353;
    text-decoration: none;
}

.hide {
    display: none;
}