File size: 2,972 Bytes
03d958f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #001F3F; /* Background biru tua */
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Posisi atas */
  min-height: 100vh;
  padding: 20px;
  overflow-y: auto; /* Scroll vertikal */
}

.container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Bayangan tegas */
  padding: 40px;
  width: 100%;
  max-width: 600px; /* Ukuran lebih besar */
  margin-bottom: 20px;
}

header h1 {
  font-size: 28px; /* Ukuran header lebih besar */
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}

label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #555;
}

input {
  padding: 15px;
  width: 100%;
  font-size: 18px; /* Font input lebih besar */
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.currency-selectors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.input-group select {
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  width: 100%;
}

/* Tombol swap */
.swap-group {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

#swapButton {
  background-color: #ffffff;
  color: #007BFF;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 22px; /* Ukuran font lebih besar */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

#swapButton:hover {
  background-color: #f1f1f1;
}

.result-box {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button[type="submit"] {
  padding: 15px;
  background-color: #00BFFF; /* Warna biru langit */
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px; /* Font lebih besar */
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #1E90FF; /* Warna biru hover */
}

footer {
  margin-top: 30px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* Responsiveness */
@media (max-width: 768px) {
  .container {
    padding: 20px;
    max-width: 95%;
  }

  input {
    font-size: 16px; /* Font input lebih kecil untuk mobile */
  }

  select {
    font-size: 14px;
    padding: 12px;
  }

  #swapButton {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  button[type="submit"] {
    font-size: 16px;
    padding: 12px;
  }

  header h1 {
    font-size: 24px;
  }
}

@media (min-width: 769px) {
  .container {
    max-width: 700px;
  }
}