<head>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background: #0d1b2a;
height: 100vh;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Segoe UI', sans-serif;
color: #00f5ff;
}
.login-wrapper {
position: relative;
width: 350px;
height: 350px;
}
.login-spinner {
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
border: 8px dashed #00f5ff;
animation: spin 10s linear infinite;
z-index: 1;
box-sizing: border-box;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.login-box {
position: absolute;
top: 50%;
left: 50%;
width: 260px;
transform: translate(-50%, -50%);
background: #132c44;
border-radius: 20px;
padding: 30px 20px;
z-index: 2;
text-align: center;
}
.login-box h2 {
margin-bottom: 20px;
color: #00f5ff;
}
.form-control {
background: transparent;
border: 1px solid #00f5ff;
color: #00f5ff;
border-radius: 20px;
margin-bottom: 15px;
}
.form-control::placeholder {
color: #7ee6ef;
}
.form-control:focus {
box-shadow: none;
border-color: #00d3d3;
}
.btn-login {
background-color: #00f5ff;
color: #0d1b2a;
font-weight: bold;
border-radius: 20px;
width: 100%;
}
.btn-login:hover {
background-color: #00cfd1;
}
.link-text {
font-size: 0.85rem;
color: #00f5ff;
cursor: pointer;
}
.link-text:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<div class="login-wrapper">
<div class="login-spinner"></div>
<div class="login-box">
<h2>Login</h2>
<input type="email" class="form-control" placeholder="Email">
<input type="password" class="form-control" placeholder="Password">
<div class="mb-3">
<span class="link-text">Forgot your password?</span>
</div>
<button class="btn btn-login">Login</button>
<div class="mt-2">
<span class="link-text">Signup</span>
</div>
</div>
</div>
</body>
By Sumon