File size: 2,727 Bytes
a7ba5f9 deeddbd c57bed8 deeddbd |
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 |
* {
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(to right, #ede9fe, #f3e8ff);
color: #374151;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background: #faf5ff;
padding: 32px;
border-radius: 24px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 800px;
border: 2px solid #c4b5fd;
}
h1 {
text-align: center;
margin-bottom: 24px;
font-size: 28px;
font-weight: 600;
color: #6b21a8;
}
label {
display: block;
margin: 14px 0 6px;
font-weight: 600;
color: #6b21a8;
}
input[type="text"],
select,
textarea {
width: 100%;
padding: 12px;
margin-bottom: 16px;
border-radius: 10px;
border: 1px solid #ddd6fe;
font-size: 16px;
font-family: inherit;
background: #fff;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input[type="text"]:focus,
textarea:focus,
select:focus {
outline: none;
border-color: #a78bfa;
box-shadow: 0 0 0 2px #ddd6fe;
}
/* File upload button */
.custom-file-upload {
display: inline-block;
padding: 12px 24px;
background-color: #8b5cf6;
color: white;
font-weight: 600;
border-radius: 10px;
cursor: pointer;
margin-bottom: 16px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.custom-file-upload:hover {
background-color: #7c3aed;
transform: scale(1.02);
}
input[type="file"] {
display: none;
}
/* File name preview */
#fileName {
font-weight: 500;
color: #4c1d95;
margin-bottom: 12px;
}
/* Textarea style */
textarea {
min-height: 120px;
resize: vertical;
}
/* Button style */
button {
background-color: #8b5cf6;
color: white;
font-weight: 600;
border: none;
padding: 14px;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
background-color: #7c3aed;
transform: scale(1.02);
}
/* Loading animation */
.loading {
font-size: 16px;
font-weight: bold;
color: #6b21a8;
animation: pulse 1s infinite;
margin: 14px 0;
text-align: center;
}
@keyframes pulse {
0% { opacity: 0.3; }
50% { opacity: 1; }
100% { opacity: 0.3; }
}
/* Response box */
pre {
background: #f5f3ff;
border: 1px solid #e9d5ff;
padding: 16px;
border-radius: 10px;
white-space: pre-wrap;
margin-top: 10px;
}
/* Download button wrapper */
.download {
text-align: center;
margin-top: 20px;
}
/* Responsive styles */
@media (max-width: 768px) {
body {
padding: 10px;
}
.container {
padding: 20px;
}
h1 {
font-size: 24px;
}
button {
font-size: 15px;
padding: 12px;
}
}
|