-
Notifications
You must be signed in to change notification settings - Fork 2
/
payment.css
86 lines (75 loc) · 1.88 KB
/
payment.css
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font choice */
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #100d28; /* Dark background color for elegant appearance */
}
.container {
background: #00003b; /* Deep navy background for container */
padding: 25px;
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Elevated shadow for depth */
width: 380px;
transition: transform 0.2s ease-in-out;
}
.container:hover {
transform: translateY(-5px); /* Slight lift on hover */
}
h1 {
margin-bottom: 20px;
text-align: center;
color: #acd9da; /* Accent color for headers */
font-size: 24px;
}
form {
display: flex;
flex-direction: column;
gap: 20px; /* More breathing space between form elements */
}
label {
font-weight: 600;
color: #acd9da;
margin-bottom: 5px; /* Gap between label and input */
}
input[type="text"],
input[type="email"],
input[type="number"] {
padding: 12px;
border: 1px solid #7375db; /* Border to match the theme */
border-radius: 8px;
background-color: #f0f0f0;
transition: border-color 0.3s, background-color 0.3s;
}
input:focus {
outline: none;
border-color: #acd9da; /* Softer border on focus */
background-color: #fff; /* Brighter background on focus */
}
button {
padding: 12px;
background-color: #7375db; /* Button primary color */
color: #fff; /* White text for better contrast */
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.3s, transform 0.2s;
}
button:hover {
background-color: #4b58d1; /* Slightly darker shade on hover */
transform: scale(1.03); /* Subtle scaling effect */
}
#status {
margin-top: 25px;
text-align: center;
font-weight: bold;
color: #acd9da;
font-size: 16px;
}