309 lines
6.0 KiB
CSS
309 lines
6.0 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
background: radial-gradient(circle at 20% 20%, #3b0066, #0c001a 70%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
/* Neon Particles */
|
|
#particles {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
}
|
|
|
|
.particle {
|
|
position: absolute;
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, #00ffff, #0099ff);
|
|
box-shadow: 0 0 10px #00eaff, 0 0 25px #0088ff;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.container {
|
|
position: relative;
|
|
z-index: 2;
|
|
background: rgba(20, 0, 40, 0.65);
|
|
border-radius: 20px;
|
|
padding: 50px 40px;
|
|
width: 90%;
|
|
max-width: 420px;
|
|
|
|
border: 2px solid rgba(0, 255, 255, 0.4);
|
|
box-shadow:
|
|
0 0 25px rgba(0, 255, 255, 0.4),
|
|
0 0 60px rgba(255, 0, 255, 0.25),
|
|
inset 0 0 40px rgba(0, 255, 255, 0.2);
|
|
animation: scanGlow 4s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes scanGlow {
|
|
0% {
|
|
border-color: #00eaff;
|
|
box-shadow:
|
|
0 0 20px rgba(0, 255, 255, 0.3),
|
|
0 0 40px rgba(0, 255, 255, 0.2),
|
|
inset 0 0 25px rgba(0, 255, 255, 0.1);
|
|
}
|
|
100% {
|
|
border-color: #ff00ff;
|
|
box-shadow:
|
|
0 0 30px rgba(255, 0, 255, 0.4),
|
|
0 0 70px rgba(255, 0, 255, 0.3),
|
|
inset 0 0 35px rgba(255, 0, 255, 0.2);
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
font-size: 2rem;
|
|
margin-bottom: 40px;
|
|
background: linear-gradient(90deg, #00d9ff 0%, #ff00ff 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
text-transform: uppercase;
|
|
letter-spacing: 3px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.input-group {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding: 16px 20px;
|
|
background: rgba(30, 0, 50, 0.65);
|
|
border: 2px solid rgba(0, 175, 255, 0.3);
|
|
border-radius: 12px;
|
|
color: #e1e8ff;
|
|
font-size: 16px;
|
|
transition: 0.3s ease;
|
|
outline: none;
|
|
}
|
|
|
|
input:focus {
|
|
border-color: #00eaff;
|
|
box-shadow: 0 0 20px #00cfff;
|
|
}
|
|
|
|
input::placeholder {
|
|
color: rgba(200, 200, 255, 0.5);
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
padding: 15px;
|
|
margin-top: 10px;
|
|
|
|
background: linear-gradient(90deg, #00eaff, #ff00ff);
|
|
border: none;
|
|
border-radius: 12px;
|
|
|
|
color: #fff;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
font-size: 18px;
|
|
|
|
letter-spacing: 2px;
|
|
cursor: pointer;
|
|
|
|
box-shadow: 0 5px 25px rgba(0, 217, 255, 0.4);
|
|
transition: all 0.25s ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow:
|
|
0 8px 35px rgba(0, 217, 255, 0.7),
|
|
0 0 20px rgba(255, 0, 255, 0.6);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.register-link {
|
|
text-align: center;
|
|
margin-top: 25px;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.register-link a {
|
|
color: #00eaff;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
transition: 0.3s ease;
|
|
}
|
|
|
|
.register-link a:hover {
|
|
color: #ff00ff;
|
|
text-shadow: 0 0 10px #00ddff;
|
|
}
|
|
|
|
/* Modal */
|
|
.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 999;
|
|
inset: 0;
|
|
background-color: rgba(0, 0, 0, 0.75);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.modal.show {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal-content {
|
|
background: rgba(20, 0, 40, 0.95);
|
|
border-radius: 20px;
|
|
border: 2px solid rgba(0, 255, 255, 0.4);
|
|
padding: 35px 25px;
|
|
width: 90%;
|
|
max-width: 400px;
|
|
|
|
box-shadow:
|
|
0 0 30px #00eaff,
|
|
0 0 60px #ff00ff;
|
|
}
|
|
|
|
.modal-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
margin: 0 auto 15px;
|
|
border-radius: 50%;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 38px;
|
|
color: white;
|
|
}
|
|
|
|
.modal-icon.success {
|
|
background: linear-gradient(135deg, #00eaff, #00ff88);
|
|
box-shadow: 0 0 25px #00ffcc;
|
|
}
|
|
|
|
.modal-icon.error {
|
|
background: linear-gradient(135deg, #ff0066, #ff00ff);
|
|
box-shadow: 0 0 25px #ff00aa;
|
|
}
|
|
|
|
.modal-content h2 {
|
|
font-size: 1.7rem;
|
|
margin-bottom: 10px;
|
|
|
|
background: linear-gradient(90deg, #00eaff, #ff00ff);
|
|
-webkit-background-clip: text;
|
|
background-clip: text; /* FIX: properti standar */
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.modal-content p {
|
|
color: rgba(240, 240, 255, 0.8);
|
|
margin-bottom: 25px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.modal-btn {
|
|
padding: 12px 55px;
|
|
background: linear-gradient(90deg, #00eaff, #ff00ff);
|
|
border: none;
|
|
border-radius: 10px;
|
|
|
|
color: white;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
box-shadow: 0 0 20px #00d9ff;
|
|
transition: 0.3s ease;
|
|
}
|
|
|
|
.modal-btn:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 0 30px #00eaff;
|
|
}
|
|
|
|
/* Autocomplete/Datalist Styling */
|
|
input::-webkit-calendar-picker-indicator {
|
|
filter: invert(1);
|
|
}
|
|
|
|
/* Styling untuk browser autocomplete */
|
|
input:-webkit-autofill,
|
|
input:-webkit-autofill:hover,
|
|
input:-webkit-autofill:focus {
|
|
-webkit-text-fill-color: #fff;
|
|
-webkit-box-shadow: 0 0 0px 1000px rgba(50, 50, 70, 0.5) inset;
|
|
transition: background-color 5000s ease-in-out 0s;
|
|
border: 2px solid rgba(100, 100, 120, 0.3);
|
|
}
|
|
|
|
input:-webkit-autofill:focus {
|
|
border-color: #00d9ff;
|
|
}
|
|
|
|
/* Styling untuk datalist dropdown - terbatas karena browser restrictions */
|
|
datalist {
|
|
background-color: rgba(30, 0, 50, 0.95);
|
|
}
|
|
|
|
option {
|
|
background-color: rgba(30, 0, 50, 0.95);
|
|
color: #fff;
|
|
padding: 10px;
|
|
}
|
|
|
|
/* Untuk Firefox */
|
|
input::-moz-list-thumbnail {
|
|
background-color: rgba(30, 0, 50, 0.95);
|
|
}
|
|
|
|
/* Custom styling untuk dropdown suggestion */
|
|
input[list]::-webkit-list-button {
|
|
color: #00d9ff;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
padding: 30px 25px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
input {
|
|
padding: 13px 15px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 13px;
|
|
font-size: 16px;
|
|
}
|
|
}
|