Spaces:
Sleeping
Sleeping
Update static/style.css
Browse files- static/style.css +111 -61
static/style.css
CHANGED
|
@@ -1,62 +1,112 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
border:
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
}
|
|
|
|
| 1 |
+
/* ===== Animated Background ===== */
|
| 2 |
+
body {
|
| 3 |
+
font-family: 'Poppins', sans-serif;
|
| 4 |
+
background: linear-gradient(-45deg, #667eea, #764ba2, #ff6b6b, #ff9f43);
|
| 5 |
+
background-size: 400% 400%;
|
| 6 |
+
animation: gradientBG 12s ease infinite;
|
| 7 |
+
display: flex;
|
| 8 |
+
justify-content: center;
|
| 9 |
+
align-items: center;
|
| 10 |
+
min-height: 100vh;
|
| 11 |
+
padding: 40px 0;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
/* ===== Glass Container ===== */
|
| 15 |
+
.container {
|
| 16 |
+
background: rgba(255, 255, 255, 0.12);
|
| 17 |
+
backdrop-filter: blur(20px);
|
| 18 |
+
padding: 50px 45px;
|
| 19 |
+
border-radius: 30px;
|
| 20 |
+
width: 480px;
|
| 21 |
+
max-width: 95%;
|
| 22 |
+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
|
| 23 |
+
color: white;
|
| 24 |
+
animation: fadeIn 0.8s ease-in-out;
|
| 25 |
+
border: 1px solid rgba(255,255,255,0.2);
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/* ===== Heading ===== */
|
| 29 |
+
.container h2 {
|
| 30 |
+
text-align: center;
|
| 31 |
+
margin-bottom: 35px;
|
| 32 |
+
font-weight: 600;
|
| 33 |
+
font-size: 28px;
|
| 34 |
+
letter-spacing: 1px;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
/* ===== Inputs & Select ===== */
|
| 38 |
+
input,
|
| 39 |
+
select {
|
| 40 |
+
width: 100%;
|
| 41 |
+
margin: 18px 0;
|
| 42 |
+
padding: 16px;
|
| 43 |
+
border-radius: 14px;
|
| 44 |
+
border: none;
|
| 45 |
+
outline: none;
|
| 46 |
+
font-size: 15px;
|
| 47 |
+
background: rgba(255,255,255,0.9);
|
| 48 |
+
transition: 0.3s ease;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
input:focus,
|
| 52 |
+
select:focus {
|
| 53 |
+
box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
|
| 54 |
+
transform: scale(1.02);
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
/* ===== Button ===== */
|
| 58 |
+
button {
|
| 59 |
+
width: 100%;
|
| 60 |
+
padding: 16px;
|
| 61 |
+
margin-top: 25px;
|
| 62 |
+
border-radius: 16px;
|
| 63 |
+
border: none;
|
| 64 |
+
background: linear-gradient(45deg, #ff6b6b, #ff9f43);
|
| 65 |
+
color: white;
|
| 66 |
+
font-size: 17px;
|
| 67 |
+
font-weight: 600;
|
| 68 |
+
cursor: pointer;
|
| 69 |
+
transition: all 0.4s ease;
|
| 70 |
+
box-shadow: 0 10px 25px rgba(0,0,0,0.3);
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
button:hover {
|
| 74 |
+
transform: translateY(-4px);
|
| 75 |
+
box-shadow: 0 15px 35px rgba(0,0,0,0.4);
|
| 76 |
+
background: linear-gradient(45deg, #ff9f43, #ff6b6b);
|
| 77 |
+
}
|
| 78 |
+
|
| 79 |
+
/* ===== QR Image Styling ===== */
|
| 80 |
+
img {
|
| 81 |
+
margin-top: 30px;
|
| 82 |
+
width: 220px;
|
| 83 |
+
border-radius: 20px;
|
| 84 |
+
box-shadow: 0 15px 40px rgba(0,0,0,0.4);
|
| 85 |
+
transition: 0.4s ease;
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
img:hover {
|
| 89 |
+
transform: scale(1.05);
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
/* ===== Error Message ===== */
|
| 93 |
+
.error {
|
| 94 |
+
background: rgba(255, 0, 0, 0.2);
|
| 95 |
+
padding: 12px;
|
| 96 |
+
border-radius: 12px;
|
| 97 |
+
margin-top: 15px;
|
| 98 |
+
text-align: center;
|
| 99 |
+
font-size: 14px;
|
| 100 |
+
}
|
| 101 |
+
|
| 102 |
+
/* ===== Animations ===== */
|
| 103 |
+
@keyframes fadeIn {
|
| 104 |
+
from {opacity: 0; transform: translateY(20px);}
|
| 105 |
+
to {opacity: 1; transform: translateY(0);}
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
@keyframes gradientBG {
|
| 109 |
+
0% {background-position: 0% 50%;}
|
| 110 |
+
50% {background-position: 100% 50%;}
|
| 111 |
+
100% {background-position: 0% 50%;}
|
| 112 |
}
|