447 lines
8.6 KiB
CSS
447 lines
8.6 KiB
CSS
:root {
|
|
--primary: #0066cc;
|
|
--primary-dark: #004d99;
|
|
--primary-light: #4d94ff;
|
|
--secondary: #00a8ff;
|
|
--accent: #ff6b6b;
|
|
--accent-light: #ff9999;
|
|
--dark: #1a1a2e;
|
|
--darker: #0d0d1a;
|
|
--light: #f8f9fa;
|
|
--lighter: #ffffff;
|
|
--gradient: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
--gradient-dark: linear-gradient(135deg, var(--primary-dark), #0097e6);
|
|
--gradient-accent: linear-gradient(135deg, var(--accent), #ff8e8e);
|
|
--shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
|
|
--shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
|
|
--shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
|
|
--border-radius: 16px;
|
|
--border-radius-lg: 24px;
|
|
--transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
line-height: 1.7;
|
|
color: #333;
|
|
overflow-x: hidden;
|
|
background-color: var(--lighter);
|
|
}
|
|
|
|
.login-container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
background: var(--gradient-dark);
|
|
padding: 20px;
|
|
}
|
|
|
|
.login-background {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
z-index: 0;
|
|
}
|
|
|
|
.login-background::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,192C1248,192,1344,128,1392,96L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
|
|
background-size: cover;
|
|
background-position: center bottom;
|
|
}
|
|
|
|
.floating-elements {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.floating-element {
|
|
position: absolute;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 50%;
|
|
animation: float 8s ease-in-out infinite;
|
|
}
|
|
|
|
.floating-element:nth-child(1) {
|
|
width: 80px;
|
|
height: 80px;
|
|
top: 10%;
|
|
left: 10%;
|
|
animation-delay: 0s;
|
|
}
|
|
|
|
.floating-element:nth-child(2) {
|
|
width: 120px;
|
|
height: 120px;
|
|
top: 20%;
|
|
right: 10%;
|
|
animation-delay: 2s;
|
|
}
|
|
|
|
.floating-element:nth-child(3) {
|
|
width: 60px;
|
|
height: 60px;
|
|
bottom: 20%;
|
|
left: 15%;
|
|
animation-delay: 4s;
|
|
}
|
|
|
|
.floating-element:nth-child(4) {
|
|
width: 100px;
|
|
height: 100px;
|
|
bottom: 10%;
|
|
right: 15%;
|
|
animation-delay: 6s;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0) rotate(0deg);
|
|
}
|
|
50% {
|
|
transform: translateY(-25px) rotate(10deg);
|
|
}
|
|
}
|
|
|
|
.login-card-wrapper {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 100%;
|
|
max-width: 440px;
|
|
}
|
|
|
|
.login-card {
|
|
background: var(--lighter);
|
|
border-radius: var(--border-radius-lg);
|
|
padding: 40px 35px;
|
|
box-shadow: var(--shadow-xl);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
animation: slideUp 0.6s ease-out;
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.login-header {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
flex-direction: column;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.logo-container {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.login-logo {
|
|
height: 80px;
|
|
width: auto;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.login-title {
|
|
font-family: 'Poppins', sans-serif;
|
|
font-size: 1.6rem;
|
|
font-weight: 700;
|
|
margin-bottom: 6px;
|
|
background: var(--gradient);
|
|
background-clip: text;
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
display: inline-block;
|
|
}
|
|
|
|
.login-subtitle {
|
|
color: #6c757d;
|
|
font-size: 1rem;
|
|
margin-bottom: 0;
|
|
max-width: 250px;
|
|
}
|
|
|
|
.form-group {
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
font-weight: 600;
|
|
color: var(--dark);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.input-group {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: var(--border-radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.form-control {
|
|
width: 100%;
|
|
padding: 16px 20px;
|
|
border: 2px solid #e8f0fe;
|
|
border-radius: var(--border-radius);
|
|
font-size: 1rem;
|
|
transition: var(--transition);
|
|
background-color: #f8fafc;
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
.form-control:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
background-color: var(--lighter);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
|
|
}
|
|
|
|
.password-toggle {
|
|
position: absolute;
|
|
right: 15px;
|
|
border: none;
|
|
background: none;
|
|
color: var(--primary);
|
|
cursor: pointer;
|
|
z-index: 5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
}
|
|
|
|
.password-toggle i {
|
|
border: none;
|
|
background: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.form-options {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-check {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.form-check-input {
|
|
margin-right: 8px;
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 2px solid #dee2e6;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form-check-input:checked {
|
|
background-color: var(--primary);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.form-check-label {
|
|
font-size: 0.9rem;
|
|
color: #6c757d;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.forgot-password {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.forgot-password:hover {
|
|
color: var(--primary-dark);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.login-btn {
|
|
width: 100%;
|
|
padding: 16px 24px;
|
|
background: var(--gradient);
|
|
color: white;
|
|
border: none;
|
|
border-radius: var(--border-radius);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.login-btn::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: var(--transition);
|
|
}
|
|
|
|
.login-btn:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.login-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.btn-text {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.btn-icon {
|
|
position: relative;
|
|
z-index: 1;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.login-btn:hover .btn-icon {
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.back-to-home {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.back-btn {
|
|
width: 100%;
|
|
padding: 14px 24px;
|
|
background: transparent;
|
|
color: var(--primary);
|
|
border: 2px solid var(--primary);
|
|
border-radius: var(--border-radius);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.back-btn::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.back-btn:hover::before {
|
|
left: 100%;
|
|
}
|
|
|
|
.back-btn:hover {
|
|
background: var(--primary);
|
|
color: white;
|
|
transform: translateY(-2px);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.back-btn:hover i {
|
|
transform: translateX(-3px);
|
|
}
|
|
|
|
.back-btn i {
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.login-btn:focus,
|
|
.back-btn:focus,
|
|
.form-control:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.3);
|
|
}
|
|
|
|
@media (max-width: 575.98px) {
|
|
.login-container {
|
|
padding: 15px;
|
|
}
|
|
|
|
.login-card {
|
|
padding: 30px 25px;
|
|
}
|
|
|
|
.login-title {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.login-logo {
|
|
height: 70px;
|
|
}
|
|
|
|
.back-btn {
|
|
padding: 12px 20px;
|
|
font-size: 0.95rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767.98px) {
|
|
.form-options {
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
align-items: flex-start;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 991.98px) {
|
|
.login-card-wrapper {
|
|
max-width: 400px;
|
|
}
|
|
} |