@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*,
*:before,
*:after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1b3c69;
    background: radial-gradient(circle, rgb(27 60 105 / 80%) 0%, rgba(27, 60, 105, 1) 70%);
    color: white;
    font-family: 'Poppins', sans-serif;
}

form {
    margin-top: auto;
    margin-bottom: auto;
    width: 90%;
    background-color: rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
    padding: 25px;
}

@media (min-width: 768px) {
    form {
        padding: 60px;
        width: 500px;
    }
}

form * {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}

form h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
}

form h4 {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
    margin-top: 10px;
}

form h5 {
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    text-align: center;
    margin-top: 10px;
}

label {
    display: block;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 500;
}

input {
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(232, 240, 254, 0.1);
    color: #ffffff;
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
    transition: background-color 0.3s;
}

input:focus,
input:active,
input:hover {
    background-color: rgba(232, 240, 254, 0.2);
}

::placeholder {
    color: #e5e5e5;
}

button,
.button-like {
    display: block;
    height: 50px;
    width: 100%;
    background-color: #1b3c69;
    border-radius: 3px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s;
    text-align: center;
    text-decoration: none;
    line-height: 50px;
}

button:hover,
.button-like:hover {
    opacity: 1;
}

button.secondary,
.button-like.secondary {
    background-color: #2c3e50;
}

.alert {
    padding: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

hr {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #ccc;
}

#corporate-user-form {
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.centered-text {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.footer {
    width: 100%;
    margin-top: 20px;
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.13);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    font-weight: 300;
    text-align: center;
}

.logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo img {
    width: min(170px, 55vw);
    height: auto;
    max-height: 64px;
    object-fit: contain;
}

.logo .logo-placeholder {
    width: 100px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: grid;
    place-items: center;
    border-radius: 6px;
    font-weight: 600;
}

div.small-link {
    text-align: center;
    margin-top: 20px;
}

.small-link a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.small-link a:hover {
    opacity: 1;
}

.msbtn {
    border-radius: 3px;
}

.list-group {
    margin-top: 20px;
}

.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 10px;
}

.list-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.list-item .open-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #1b3c69;
}
