/**
 * Global styles
 */

body,
html {
    height: 100%;
    background-color: #1c4468;
    background-image: -webkit-radial-gradient(0 0, cover, #89e8ee, #1c4468 80%);
    background-image: -moz-radial-gradient(0 0, cover, #89e8ee, #1c4468 80%);
    background-image: -ms-radial-gradient(0 0, cover, #89e8ee, #1c4468 80%);
    background-image: -o-radial-gradient(0 0, cover, #89e8ee, #1c4468 80%);
    background-image: radial-gradient(0 0, cover, #89e8ee, #1c4468 80%);
}

.login-container {
    padding-top: 60px;
}

.card-container {
    width: 350px;
    min-height: 420px;
    margin: 0 auto 25px;
}


/**
 * Card component
 */

.front,
.back {
    width: 100%;
    min-height: 420px;
    padding: 40px 40px;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    background-color: #FFF;
}

.profile-img-card {
    width: 96px;
    height: 96px;
    margin: 0 auto 40px;
    display: block;
    border-radius: 50%;
}


/**
 * Form styles
 */

.auth-error,
.auth-success {
    display: block;
    height: 2;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    word-wrap: break-word;
    box-sizing: border-box;
}

.auth-error {
    color: #d44950;
}

.auth-success {
    color: #3c763d;
}

.form-signin input[type=text],
.form-signin input[type=email],
.form-signin input[type=password] {
    margin-bottom: 10px;
    height: 44px;
    font-size: 16px;
}

.btn.btn-signin {
    font-weight: 700;
    height: 36px;
    font-size: 14px;
    margin-bottom: 10px;
    border-radius: 3px;
    border: none;
    transition: all 0.218s;
}


/**
 * Card flipping
 */

.card-container {
    margin-bottom: 30px;
}


/* flip speed goes here */

.card,
.front,
.back {
    transition: transform .5s;
    position: relative;
}


/* hide back of pane during swap */

.front,
.back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}


/* front pane, placed above back */

.front {
    z-index: 2;
    transform: perspective(800px) rotateY(0);
}


/* back, initially hidden pane */

.back {
    /*-webkit-transform: rotateY( 180deg);
    -moz-transform: rotateY( 180deg);
    -o-transform: rotateY( 180deg);
    transform: rotateY( 180deg);*/
    z-index: 3;
    transform: perspective(800px) rotateY(180deg);
}

.card-container.flip .card .front {
    transform: perspective(800px) rotateY(180deg);
}

.card-container.flip .card .back {
    transform: perspective(800px) rotateY(360deg);
}
