body {
height: 100vh;
background: #0062E6 !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.card {
overflow: hidden;
border: 0 !important;
border-radius: 20px !important;
box-shadow: 0 0.5rem 1rem 0 rgba(0, 0, 0, 0.1);
}
.img-left {
width: 45%;
background: url('img.jpg') center;
background-size: cover;
}
.card-body {
padding: 2rem;
}
.title {
margin-bottom: 1.5rem;
font-weight: bold;
color: #333;
}
/* ---- Tabs Styling Fix ---- */
.nav-tabs {
border-bottom: none;
display: flex;
justify-content: center;
margin-bottom: 1rem;
}
.nav-tabs .nav-item {
flex: 1;
text-align: center;
}
.nav-tabs .nav-link {
border: none !important;
border-radius: 30px !important;
margin: 0 5px;
background: #f1f1f1;
color: #333;
font-weight: 600;
text-align: center;
transition: 0.3s;
padding: 10px 0;
}
.nav-tabs .nav-link.active {
background: #007bff !important;
color: #fff !important;
box-shadow: none !important;
}
/* ---- Form Styling ---- */
.form-input {
position: relative;
}
.form-input input {
width: 100%;
height: 45px;
padding-left: 40px;
margin-bottom: 20px;
box-sizing: border-box;
border: 1px solid #00000020;
border-radius: 50px;
outline: none;
background: transparent;
transition: 0.3s;
}
.form-input span {
position: absolute;
top: 10px;
padding-left: 15px;
color: #007bff;
}
.form-input input::placeholder {
color: black;
}
.form-input input:focus,
.form-input input:valid {
border: 2px solid #007bff;
}
.form-input input:focus::placeholder {
color: #454b69;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
background-color: #007bff !important;
border: 0px;
}
/* ---- Buttons ---- */
.form-box button[type="submit"] {
margin-top: 10px;
border: none;
cursor: pointer;
border-radius: 50px;
background: #007bff;
color: #fff;
font-size: 90%;
font-weight: bold;
letter-spacing: .1rem;
transition: 0.5s;
padding: 12px;
}
.form-box button[type="submit"]:hover {
background: #0069d9;
}
/* ---- Links ---- */
.forget-link,
.register-link {
color: #007bff;
font-weight: bold;
}
.forget-link:hover,
.register-link:hover {
color: #0069d9;
text-decoration: none;
}
/* ---- Social Buttons ---- */
.form-box .btn-social {
color: white !important;
border: 0;
font-weight: bold;
border-radius: 50px;
transition: 0.3s;
}
.form-box .btn-facebook {
background: #4866a8;
}
.form-box .btn-google {
background: #da3f34;
}
.form-box .btn-twitter {
background: #33ccff;
}
.form-box .btn-facebook:hover {
background: #3d578f;
}
.form-box .btn-google:hover {
background: #bf3b31;
}
.form-box .btn-twitter:hover {
background: #2eb7e5;
}