/* Reset styli */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 10px;
}

@media screen and (min-width: 600px) {
    html {
        font-size: 16px;
    }
}

body {
    background-color: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

.bg-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    /* ZMIENIONE: z 0 na -1, żeby linie były za wszystkim */
}

.bg-line-wrapper {
    /* position: relative; */
    width: 100%;
    max-width: 1066px;
    height: 100vh;
    margin: 0 auto;
    padding: 0 1.25rem;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* z-index: 0; */
}

.bg-line-item {
    background-color: #475AFF;
    opacity: .333;
    width: 2px;
    height: 100%;
    position: relative;
}

/* Grubsze odcinki na różnych wysokościach dla każdej linii */
.bg-line-item:nth-child(1)::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 15%;
    width: 6px;
    height: 12%;
    background-color: #475AFF;
}

.bg-line-item:nth-child(1)::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 65%;
    width: 6px;
    height: 8%;
    background-color: #475AFF;
}

.bg-line-item:nth-child(2)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 25%;
    width: 4px;
    height: 15%;
    background-color: #475AFF;
}

.bg-line-item:nth-child(3)::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 40%;
    width: 6px;
    height: 10%;
    background-color: #475AFF;
}

.bg-line-item:nth-child(3)::after {
    content: '';
    position: absolute;
    left: -1px;
    top: 75%;
    width: 4px;
    height: 6%;
    background-color: #475AFF;
}

.bg-line-item:nth-child(4)::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 20%;
    width: 6px;
    height: 9%;
    background-color: #475AFF;
}

.bg-line-item:nth-child(5)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    width: 4px;
    height: 13%;
    background-color: #475AFF;
}

.bg-line-item:nth-child(5)::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 80%;
    width: 6px;
    height: 7%;
    background-color: #475AFF;
}

.top-section-wrapper {
    position: relative;
    z-index: 2;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #001D37;
    color: #FFFFFF;

    overflow: hidden;
}

.top-section {
    position: relative;
    max-width: 1066px;
    margin: 0 auto;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

@media screen and (min-width: 600px) {
    .top-section {
        padding-top: 8.5rem;
        padding-bottom: 8.5rem;
    }
}

.logo {
    position: absolute;
    width: 256px;
    height: 256px;
    top: 0.25rem;
    left: 52%;
    /* transform: translate(-50%, -50%); */
}

@media screen and (min-width: 600px) {
    .logo {
        width: 512px;
        height: 512px;
        top: 0;
        left: 56%;
    }
}

/* Do 600px */
.top-section h1 {
    max-width: 36rem;
    line-height: 1;
    font-size: 2.25rem;
}

/* Jak przekroczy 600px */
@media screen and (min-width: 600px) {
    .top-section h1 {
        font-size: 2.25rem;
    }
}

.top-section .intro-text {
    max-width: 27rem;
    margin: 1.25rem 0;
    line-height: 1.7;
    font-size: 1.3rem;
}

@media screen and (min-width: 600px) {
    .top-section .intro-text {
        margin: 1rem 0;
        font-size: 1.125rem;
    }
}

.intro-buttons-wrapper {
    margin-bottom: 4.5rem;
}

@media screen and (min-width: 600px) {
    .intro-buttons-wrapper {
        margin-bottom: 8rem;
    }
}

.link-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid;
    border-radius: 6.25rem;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: background-color .3s ease-out, border .3s ease-out, color .3s ease-out;

    cursor: pointer;
}

/* Jak przekroczy 600px */
@media screen and (min-width: 600px) {
    .link-button {
        font-size: 1.125rem;
    }
}

.current-offer-btn {
    background-color: #475AFF;
    border-color: #475AFF;

}

.current-offer-btn:hover {
    background-color: #2E40E2;
    border-color: #2E40E2;
}

.link-button--outline {
    background-color: transparent;
    border-color: #FFFFFF;
}

.link-button--outline:hover {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: #475AFF;
}

.intro-features {
    display: grid;
    column-gap: 1rem;
    row-gap: 1rem;
}

@media screen and (min-width: 580px) {
    .intro-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 900px) {
    .intro-features {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.intro-feature {
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, .24);
}

.intro-feature h2 {
    margin: 2rem 0 0.25rem 0;
    font-size: 1.75rem;
}

@media screen and (min-width: 600px) {
    .intro-feature h2 {
        font-size: 1.5rem;
    }
}

.intro-feature p {
    font-size: 1.3rem;
}

@media screen and (min-width: 600px) {
    .intro-feature p {
        font-size: 1.0625rem;
    }
}

.circle {
    position: absolute;
    width: 38.5rem;
    height: 38.5rem;
    border-radius: 50%;
    filter: blur(150px);

    opacity: .85;

    z-index: -1;
}

.circle-one {
    top: 4rem;
    right: -24rem;
    background-color: #D660FF;
}

.circle-two {
    top: -23rem;
    left: -7.5rem;
    background-color: #6079FF;
}

.page-section {
    padding: 5rem 1rem;
    background-color: #FFFFFF;
}

@media screen and (min-width: 600px) {
    .page-section {
        padding: 7rem 1rem;
    }
}

.page-section-inner {
    position: relative;
    max-width: 1066px;
    margin: 0 auto;

    z-index: 2;
}

.page-section-title {
    font-size: 3rem;
    line-height: 1;
}

.trainings-filter,
.trainings-filter button {
    color: #9F9F9F;
    font-size: 1.375rem;
}

.trainings-filter button {
    cursor: pointer;
}

.trainings-filter button:hover {
    color: #7D7D7D;
}

.trainings-filter .active,
.trainings-filter .active:hover {
    color: #475AFF;
    text-decoration: underline;

}

.trainings-filter p {
    margin-top: 1em;
    margin-bottom: 1em;
}

.trainings-filter button {
    border: none;
    background-color: transparent;
    font-family: 'IBM Plex Sans', sans-serif;
}

.trainings-filter button:not(:last-child) {
    margin-right: 0.625rem;
}

/* Content first approach */
.list-of-trainings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    column-gap: 2rem;
    row-gap: 1.75rem;
}

.training-card {
    display: grid;
    grid-template-columns: 10.5rem 1fr;
    background-color: #FFFFFF;
    border: 1px solid #F3F3F3;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;

    overflow: hidden;
}

.traning-card-image {
    order: 1;
    grid-row: 1;
}

.traning-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.training-card-text {
    padding: 1.625rem 1.75rem;
}

.training-card-text h3 {
    margin-bottom: 0.3125rem;
    font-size: 1.375rem;
    font-weight: 600;
    text-transform: capitalize;
}

.site-footer {
    position: relative;
    z-index: 2;
}

.site-footer p {
    padding-bottom: 4rem;
    text-align: center;
    color: #A6A6A6;
    font-size: 1rem;
}

.site-footer .logout-text {
    padding: 0;
}

.site-footer .logout-text button {
    font-family: inherit;
    background-color: transparent;
    border: none;
    text-decoration: underline;
    color: #A6A6A6;
    cursor: pointer;
}

@media screen and (min-width: 600px) {
    .site-footer p {
        font-size: 0.875rem;
    }
}

.training-excerpt {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: #626262;
    font-size: 1.15rem;
}

.training-excerpt strong {
    font-weight: 600;
}

@media screen and (min-width: 600px) {
    .training-excerpt {
        font-size: inherit;
    }
}

.training-duration {
    color: #A2A2A2;
    font-size: 1rem;
}

@media screen and (min-width: 600px) {
    .training-duration {
        font-size: 0.875rem;
    }
}

.utility-mr {
    margin-right: 1rem;
}

@media screen and (min-width: 600px) {
    .utility-mr {
        margin-bottom: 0.625rem;
    }
}

.utility-mb {
    margin-bottom: 1rem;
}

.utility-mt {
    margin-top: 1.5rem;
}

/* Jak przekroczy 600px */
@media screen and (min-width: 600px) {
    .utility-mb {
        margin-bottom: 0.625rem;
    }
}

.utility-mb-medium {
    margin-bottom: 2.5rem;
}

.utility-mt-medium {
    margin-top: 2.5rem;
}

/* Admin Pages CSS */
.utility-mb-big {
    margin-bottom: 4rem;
}

.utility-mt-big {
    margin-top: 4rem;
}

/* ============================================ */
/* NOWE STYLE DLA STRONY LOGOWANIA */
/* ============================================ */
.page-section-login {
    background-color: #001D37;
    overflow: hidden;
}

/* Tło strony logowania - ciemne jak na głównej stronie */
.login-wrapper {
    position: relative;
    min-height: 100vh;
    max-width: 1066px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Główny kontener formularza - efekt glassmorphism */
.login-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
}

@media screen and (min-width: 600px) {
    .login-container {
        padding: 3.5rem 3rem;
    }
}

/* Ikona logowania */
.login-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tytuł */
.login-title,
.add-training-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #001D37;
    /* text-align: center; */
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.6s ease-out 0.1s both;
}

@media screen and (min-width: 600px) {

    .login-title,
    .add-training-form-title {
        font-size: 2.25rem;
    }
}

/* Podtytuł */
.login-subtitle,
.add-training-form-subtitle {
    font-size: 1.125rem;
    color: #626262;
    /* text-align: center; */
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

/* Formularz */
.login-form,
.add-training-form {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grupa pól formularza */
.form-group {
    margin-bottom: 1.5rem;
}

/* Label */
.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #001D37;
    margin-bottom: 0.5rem;
}

/* Wrapper dla inputa z ikoną */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Ikona w polu input */
.input-icon {
    position: absolute;
    left: 1rem;
    color: #9F9F9F;
    pointer-events: none;
    transition: color 0.3s ease;
}

/* Nowoczesne pole input */
.form-field-modern {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: #001D37;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
    outline: none;
}

.form-field-modern::placeholder,
.form-field::placeholder {
    color: #ababab;
    /* color: #999; */
}

.form-field-modern:focus {
    border-color: #475AFF;
    box-shadow: 0 0 0 4px rgba(71, 90, 255, 0.1);
}

.form-field-modern:focus+.input-icon,
.input-wrapper:focus-within .input-icon {
    color: #475AFF;
}

/* Komunikat błędu */
.login-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background-color: #FFF5F5;
    border: 1px solid #FEB2B2;
    border-radius: 8px;
    color: #C53030;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.login-error svg {
    flex-shrink: 0;
}

/* Przycisk logowania */
.login-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #475AFF 0%, #2E40E2 100%);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(71, 90, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(71, 90, 255, 0.4);
}

.login-button:hover::before {
    left: 100%;
}

.login-button:active {
    transform: translateY(0);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.login-button:hover .button-arrow {
    transform: translateX(4px);
}

/* Footer logowania */
.login-footer {
    margin-top: 2rem;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Link powrotny */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: #626262;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #475AFF;
    gap: 0.625rem;
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* Responsywność dla małych ekranów */
@media screen and (max-width: 480px) {
    .login-container {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .login-subtitle {
        font-size: 1rem;
    }
}

/* ============================================ */
/* KONIEC NOWYCH STYLÓW DLA STRONY LOGOWANIA */
/* ============================================ */

/* ============================================ */
/* ADMIN DASHBOARD STYLES */
/* ============================================ */

.small-link {
    position: relative;
    display: inline-block;
    font-size: 1rem;
    color: #999999;
    z-index: 2;
}

@media screen and (min-width: 600px) {
    .small-link {
        font-size: 0.875rem;
    }
}

.action-btn {
    text-decoration: none;
    font-family: inherit;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0 1rem 0 0;
    font-size: .9rem;
    cursor: pointer;
    color: #475AFF;
}


.action-btn:last-child {
    margin-right: 0;
}

.action-btn:hover {
    color: #2030BC;
    text-decoration: underline;
}

.add-training-btn {
    vertical-align: middle;
    text-decoration: none;
    display: inline-block;
    padding: 1.3rem 1.8rem;
    font-size: 1.3rem;
    border-radius: 6.25rem;
    color: #FFFFFF;
    background-color: rgb(19, 130, 19);
    transition: all 0.1s;
}

/* Jak przekroczy 600px */
@media screen and (min-width: 600px) {
    .add-training-btn {
        font-size: 1.125rem;
    }
}

.add-training-btn svg {
    height: 18px;
    width: 18px;
    margin-right: .5rem;
    position: relative;
    top: 3px;
}

/* .add-training-btn:hover {} */

.add-training-btn:active {
    background-color: rgb(13, 105, 13);
    transform: scale(.95) !important;

}

.still-loading .traning-card-image,
.still-loading .training-card-text,
.still-loading.add-training-form-container * {
    opacity: 0;
    visibility: hidden;
}

/* .still-loading.add-training-form-container h2 {
    visibility: hidden;
} */

.still-loading .training-card,
.still-loading .add-training-form-container {
    background-color: #B9B9B9;
}


@keyframes loadingflashing {
    0% {
        opacity: .1;
    }

    100% {
        opacity: .4;
    }
}

.still-loading {
    animation: .6s loadingflashing infinite ease-in-out alternate;
}

.stats ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* wyrównanie do lewej */
}

.trainings-filter.stats p {
    margin-top: 0;
}

.stats ul li:not(:last-child) {
    margin-bottom: .7rem;
}

/* Jak przekroczy 600px */
@media screen and (min-width: 600px) {
    .stats ul li:not(:last-child) {
        margin-bottom: .5rem;
    }
}

.stats ul li:hover span {
    color: #7D7D7D;
}

.add-training-form-wrapper {
    min-height: 100vh;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    transition: height 0.6s ease-in-out;
}

/* Główny kontener formularza - efekt glassmorphism */
.add-training-form-container {
    width: 95%;
    max-width: 1066px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.4) 80%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 3px;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out, visibility 0.6s;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.add-training-form-container--first-step {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.add-training-form-container--second-step {
    opacity: 0;
    visibility: hidden;
    transform: translateX(calc(-50% + 100vw));
    z-index: 1;
}

/* Animacje dla przejścia między krokami */
.add-training-form-container--first-step.slide-out-left {
    transform: translateX(calc(-50% - 100vw));
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.add-training-form-container--second-step.slide-in-left {
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}

.add-training-form-container--second-step.slide-out-right {
    transform: translateX(calc(-50% + 100vw));
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.add-training-form-container--first-step.slide-in-right {
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 2;
}


@media screen and (min-width: 600px) {
    .add-training-form-container {
        padding-left: 6rem;
    }

    .add-training-form {
        width: 80%;
    }
}

.form-field {
    display: block;
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    border: 2px solid #E5E5E5;
    border: none;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    outline: none;
    color: #777 !important;
    transition: all .3s;
}

select {
    color: #333;
}

.form-field:focus {
    border-bottom: 3px solid;
    border-color: #475AFF !important;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

textarea.form-field {
    height: 15rem;
    resize: none;
}

.photo-group {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    transition: all .3s;
}


.photo-group svg {
    display: none;
}

.photo-group .form-field::placeholder {
    color: #9f9f9f;
}

.photo-group:hover {
    transform: translateY(.5rem) scale(1.03);
}

.photo-group .form-label {
    margin-top: 0.5rem;
}

.photo-group .form-label:first-child {
    margin-top: 0;
}

/* ============================================ */
/* CHECKBOX STYLES */
/* ============================================ */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__checkbox-input {
    display: none;
}

.form__checkbox-label {
    position: relative;
    padding-left: 3rem;
    font-size: 1.3rem;
    cursor: pointer;
    display: block;
    color: #001D37;
    transition: color 0.2s;
}

@media screen and (min-width: 600px) {
    .form__checkbox-label {
        font-size: 1rem;
    }
}

.form__checkbox-label:hover {
    color: #475AFF;
}

.form__checkbox-button {
    position: absolute;
    top: -0.3rem;
    left: 0;
    height: 2rem;
    width: 2rem;
    border: 3px solid #475AFF;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
}

.form__checkbox-button::after {
    height: 1rem;
    width: 1rem;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 2px;
    background-color: #475AFF;
    opacity: 0;
    transition: opacity 0.2s;
}

.form__checkbox-input:checked+.form__checkbox-button::after {
    opacity: 1;
}

.form__checkbox-input:checked+.form__checkbox-button {
    background-color: rgba(71, 90, 255, 0.1);
    border-color: #2E40E2;
}

.form__checkbox-label:hover .form__checkbox-button {
    border-color: #2E40E2;
    transform: scale(1.05);
}

/* Messages */
.notification {
    position: absolute;
    bottom: 50px;
    left: 50px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    padding: 20px 15px;
    border-radius: 4px;
    background-color: #141619;
    color: #f6f5f9;
    -webkit-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
    font-size: 1rem;
    -webkit-animation: fade-in 4s linear forwards;
    animation: fade-in 4s linear forwards;
}

.notification .error {
    background-color: #e74c3c;
    /* Czerwony kolor dla błędu */
}

.notification .notification-progress {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: calc(100% - 10px);
    height: 3px;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left;
    transform-origin: left;
    /* background-image: -webkit-gradient(linear,
            left top,
            right top,
            from(#539bdb),
            to(#3250bf)); */
    background-image: linear-gradient(to right, #539bdb, #3250bf);
    border-radius: inherit;
    -webkit-animation: load 3s 0.25s linear forwards;
    animation: load 3s 0.25s linear forwards;
}

@-webkit-keyframes fade-in {
    5% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fade-in {
    5% {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes load {
    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

@keyframes load {
    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
    }
}

/* End Messages */
