@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: #8bba34;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

form {
    margin-top: auto;
    margin-bottom: auto;
    width: 90%;
    background-color: #1C2A3C;
    border-radius: 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: #fff;
    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: #fff;
    color: #000;
    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: #fff;
}

/* autofill input */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #fff inset;
}

::placeholder {
    color: #e5e5e5;
}

button {
    display: block;
    height: 50px;
    width: 100%;
    background-color: #8bba34;
    border-radius: 3px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s;
}

button:hover {
    opacity: 1;
}


button.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: 100px;
    height: 60px;
}

div.small-link {
    text-align: center;
    margin-top: 20px;
}

.small-link a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    opacity: 0.7;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.small-link a:hover {
    opacity: 1;
}

.msbtn {
    border-radius: 3px;
}