139 lines
2.7 KiB
CSS
139 lines
2.7 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
background: #1e90ff;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
.container {
|
|
background: #fff;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
width: 300px;
|
|
text-align: center;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin: 10px 0;
|
|
border: 1px solid #aaa;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 10px;
|
|
background: #1e90ff;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
button:hover {
|
|
background: #0c65b2;
|
|
}
|
|
|
|
#error {
|
|
color: red;
|
|
margin-top: 10px;
|
|
}
|
|
=======
|
|
font-family: Arial, sans-serif;
|
|
background: #f7f6ff;
|
|
}
|
|
|
|
/* Background animation */
|
|
.bg-animated .bg-circle {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
filter: blur(60px);
|
|
animation: float 6s infinite ease-in-out;
|
|
}
|
|
.one { top: 20%; left: 10%; width: 180px; height: 180px; background: rgba(255,255,255,0.1); }
|
|
.two { bottom: 15%; right: 10%; width: 250px; height: 250px; background: rgba(255,192,203,0.2); animation-delay: 1s; }
|
|
.three { top: 50%; left: 50%; width: 160px; height: 160px; background: rgba(200,120,255,0.2); animation-delay: 2s; }
|
|
|
|
@keyframes float {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-20px); }
|
|
}
|
|
|
|
/* Card */
|
|
.login-card {
|
|
background: rgba(255,255,255,0.6);
|
|
backdrop-filter: blur(15px);
|
|
padding: 30px;
|
|
max-width: 400px;
|
|
width: 100%;
|
|
border-radius: 20px;
|
|
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
/* Icon */
|
|
.icon-wrapper { display: flex; justify-content: center; margin-bottom: 20px; }
|
|
.icon-circle {
|
|
background: linear-gradient(45deg, purple, hotpink);
|
|
padding: 20px;
|
|
border-radius: 50%;
|
|
}
|
|
.login-icon { width: 40px; height: 40px; }
|
|
|
|
/* Text */
|
|
.header-text { text-align: center; margin-bottom: 20px; }
|
|
.header-text h2 { background: -webkit-linear-gradient(purple, hotpink);
|
|
|
|
/* Input */
|
|
input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
margin-bottom: 15px;
|
|
border-radius: 10px;
|
|
border: 2px solid #ddd;
|
|
background: #fafafa;
|
|
}
|
|
|
|
/* Button */
|
|
.btn-login {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: linear-gradient(to right, purple, hotpink);
|
|
color: white;
|
|
border-radius: 12px;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Error */
|
|
.error {
|
|
background: #ffe5e5;
|
|
border: 1px solid #ffb2b2;
|
|
color: #b00000;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
margin-bottom: 10px;
|
|
display: none;
|
|
}
|
|
|
|
/* Demo Box */
|
|
.demo-box {
|
|
background: #eef3ff;
|
|
padding: 15px;
|
|
margin-top: 20px;
|
|
border-radius: 15px;
|
|
border: 1px solid #d8e0ff;
|
|
}
|
|
.demo-item {
|
|
background: white;
|
|
padding: 10px;
|
|
margin-top: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
>>>>>>> 034e71546358d1709edc3df62da8342c7a9fa647
|