File size: 2,474 Bytes
82d1c7b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3f44b33
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/* ===== Animated Background ===== */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(-45deg, #667eea, #764ba2, #ff6b6b, #ff9f43);
    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 0;
}

/* ===== Glass Container ===== */
.container {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    padding: 50px 45px;
    border-radius: 30px;
    width: 480px;
    max-width: 95%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    color: white;
    animation: fadeIn 0.8s ease-in-out;
    border: 1px solid rgba(255,255,255,0.2);
}

/* ===== Heading ===== */
.container h2 {
    text-align: center;
    margin-bottom: 35px;
    font-weight: 600;
    font-size: 28px;
    letter-spacing: 1px;
}

/* ===== Inputs & Select ===== */
input,
select {
    width: 100%;
    margin: 18px 0;
    padding: 16px;
    border-radius: 14px;
    border: none;
    outline: none;
    font-size: 15px;
    background: rgba(255,255,255,0.9);
    transition: 0.3s ease;
}

input:focus,
select:focus {
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
}

/* ===== Button ===== */
button {
    width: 100%;
    padding: 16px;
    margin-top: 25px;
    border-radius: 16px;
    border: none;
    background: linear-gradient(45deg, #ff6b6b, #ff9f43);
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    background: linear-gradient(45deg, #ff9f43, #ff6b6b);
}

/* ===== QR Image Styling ===== */
img {
    margin-top: 30px;
    width: 220px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    transition: 0.4s ease;
}

img:hover {
    transform: scale(1.05);
}

/* ===== Error Message ===== */
.error {
    background: rgba(255, 0, 0, 0.2);
    padding: 12px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}