File size: 2,964 Bytes
a7ba5f9 f7ad1bb e94e47c f7ad1bb e94e47c a7ba5f9 |
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 |
* {
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;
}
input[type="file"] {
display: none;
}
.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);
}
textarea {
min-height: 120px;
resize: vertical;
}
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 {
font-size: 16px;
font-weight: bold;
color: #6b21a8; /* purple */
animation: pulse 1s infinite;
margin: 10px 0;
}
@keyframes pulse {
0% { opacity: 0.3; }
50% { opacity: 1; }
100% { opacity: 0.3; }
}
pre {
background: #f5f3ff;
border: 1px solid #e9d5ff;
padding: 16px;
border-radius: 10px;
white-space: pre-wrap;
margin-top: 10px;
}
.download {
text-align: center;
margin-top: 20px;
}
@media (max-width: 768px) {
body {
padding: 10px;
}
.container {
padding: 20px;
}
h1 {
font-size: 24px;
}
button {
font-size: 15px;
padding: 12px;
}
}
|