1 | .formContainer {
|
---|
2 | display: flex;
|
---|
3 | justify-content: center;
|
---|
4 | align-items: center;
|
---|
5 | padding: 40px 20px;
|
---|
6 | background-color: #f7f7f7;
|
---|
7 | min-height: 100vh;
|
---|
8 | }
|
---|
9 |
|
---|
10 | .applicationForm {
|
---|
11 | background-color: #fff;
|
---|
12 | padding: 30px;
|
---|
13 | border-radius: 10px;
|
---|
14 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
---|
15 | max-width: 700px;
|
---|
16 | width: 100%;
|
---|
17 | border: 1px solid #ddd;
|
---|
18 | box-sizing: border-box;
|
---|
19 | }
|
---|
20 |
|
---|
21 | .formTitle {
|
---|
22 | font-size: 26px;
|
---|
23 | font-weight: bold;
|
---|
24 | color: #333;
|
---|
25 | margin-bottom: 25px;
|
---|
26 | text-align: center;
|
---|
27 | }
|
---|
28 |
|
---|
29 | .formGroup {
|
---|
30 | margin-bottom: 20px;
|
---|
31 | }
|
---|
32 |
|
---|
33 | .formGroup label {
|
---|
34 | display: block;
|
---|
35 | margin-bottom: 5px;
|
---|
36 | font-weight: bold;
|
---|
37 | color: #333;
|
---|
38 | }
|
---|
39 |
|
---|
40 | .formGroup input[type="text"],
|
---|
41 | .formGroup input[type="email"],
|
---|
42 | .formGroup input[type="tel"],
|
---|
43 | .formGroup input[type="file"],
|
---|
44 | .formGroup input[type="url"],
|
---|
45 | .formGroup textarea {
|
---|
46 | width: 100%;
|
---|
47 | padding: 12px;
|
---|
48 | border: 1px solid #ddd;
|
---|
49 | border-radius: 4px;
|
---|
50 | font-size: 16px;
|
---|
51 | box-sizing: border-box;
|
---|
52 | }
|
---|
53 |
|
---|
54 | .formGroup input[type="text"]:focus,
|
---|
55 | .formGroup input[type="email"]:focus,
|
---|
56 | .formGroup input[type="tel"]:focus,
|
---|
57 | .formGroup input[type="file"]:focus,
|
---|
58 | .formGroup input[type="url"],
|
---|
59 | .formGroup textarea:focus {
|
---|
60 | border-color: #e0a500;
|
---|
61 | outline: none;
|
---|
62 | }
|
---|
63 |
|
---|
64 | .innerFormContainer {
|
---|
65 | display: flex;
|
---|
66 | margin-bottom: 10px;
|
---|
67 | }
|
---|
68 |
|
---|
69 | .innerFormData {
|
---|
70 | flex-direction: row;
|
---|
71 | justify-content: space-between;
|
---|
72 | width: 120%;
|
---|
73 | }
|
---|
74 |
|
---|
75 | .innerFormData:first-child {
|
---|
76 | margin-right: 2%;
|
---|
77 | }
|
---|
78 |
|
---|
79 | .buttonContainer {
|
---|
80 | text-align: right;
|
---|
81 | }
|
---|
82 |
|
---|
83 | .submitButton {
|
---|
84 | background-color: #e0a500;
|
---|
85 | color: #fff;
|
---|
86 | padding: 12px 20px;
|
---|
87 | border: none;
|
---|
88 | border-radius: 4px;
|
---|
89 | cursor: pointer;
|
---|
90 | font-size: 16px;
|
---|
91 | transition: background-color 0.3s ease;
|
---|
92 | }
|
---|
93 |
|
---|
94 | .submitButton:hover {
|
---|
95 | background-color: #cc8b00;
|
---|
96 | }
|
---|
97 |
|
---|
98 | .addIngredientButton {
|
---|
99 | margin-top: 10px;
|
---|
100 | background-color: #FFA500;
|
---|
101 | color: white;
|
---|
102 | border-radius: 5px;
|
---|
103 | border: 1px solid #FFA500;
|
---|
104 | padding: 5px 10px;
|
---|
105 | transition: background-color 0.5s ease;
|
---|
106 | }
|
---|
107 |
|
---|
108 | .addIngredientButton:hover {
|
---|
109 | cursor: pointer;
|
---|
110 | background-color: white;
|
---|
111 | color: #FFA500;
|
---|
112 | transition: background-color 0.3s ease;
|
---|
113 | }
|
---|
114 |
|
---|
115 | .removeIngredientButton {
|
---|
116 | background-color: #FFA500;
|
---|
117 | color: white;
|
---|
118 | border-radius: 5px;
|
---|
119 | padding: 5px 20px;
|
---|
120 | margin-left: 10px;
|
---|
121 | border: 1px solid #FFA500;
|
---|
122 | transition: background-color 0.3s ease;
|
---|
123 | }
|
---|
124 |
|
---|
125 | .removeIngredientButton:hover {
|
---|
126 | cursor: pointer;
|
---|
127 | background-color: white;
|
---|
128 | border: 1px solid red;
|
---|
129 | color: red;
|
---|
130 | transition: background-color 0.3s ease;
|
---|
131 | }
|
---|
132 |
|
---|
133 | @media (max-width: 768px) {
|
---|
134 | .applicationForm {
|
---|
135 | padding: 20px;
|
---|
136 | }
|
---|
137 |
|
---|
138 | .formTitle {
|
---|
139 | font-size: 22px;
|
---|
140 | margin-bottom: 20px;
|
---|
141 | }
|
---|
142 |
|
---|
143 | .formGroup input[type="text"],
|
---|
144 | .formGroup input[type="email"],
|
---|
145 | .formGroup input[type="tel"],
|
---|
146 | .formGroup input[type="file"],
|
---|
147 | .formGroup input[type="url"],
|
---|
148 | .formGroup textarea {
|
---|
149 | font-size: 14px;
|
---|
150 | }
|
---|
151 |
|
---|
152 | .submitButton {
|
---|
153 | padding: 10px 15px;
|
---|
154 | font-size: 14px;
|
---|
155 | }
|
---|
156 | }
|
---|
157 | .messageContainer {
|
---|
158 | display: flex;
|
---|
159 | flex-direction: column;
|
---|
160 | align-items: center;
|
---|
161 | }
|
---|
162 |
|
---|
163 | .formTitle {
|
---|
164 | font-size: 24px;
|
---|
165 | font-weight: bold;
|
---|
166 | color: #333;
|
---|
167 | margin-bottom: 10px;
|
---|
168 | }
|
---|
169 |
|
---|
170 | .loginButton {
|
---|
171 | background-color: #e0a500;
|
---|
172 | color: #fff;
|
---|
173 | padding: 12px 20px;
|
---|
174 | border: none;
|
---|
175 | border-radius: 4px;
|
---|
176 | cursor: pointer;
|
---|
177 | font-size: 16px;
|
---|
178 | transition: background-color 0.3s ease;
|
---|
179 | margin-top: 10px;
|
---|
180 | }
|
---|
181 |
|
---|
182 | .loginButton:hover {
|
---|
183 | background-color: #cc8b00;
|
---|
184 | }
|
---|