File size: 2,848 Bytes
3ce2dec 7dec804 e0ce5c7 7dec804 e0ce5c7 7dec804 |
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 170 |
:root {
--primary: #6366F1;
--primary-dark: #4F46E5;
--background: #1A1A2E;
--card-bg: #16213E;
--text: #E6E6E6;
--text-muted: #A0AEC0;
--error: #F56565;
--success: #48BB78;
}
body.dark-theme {
background-color: var(--background);
color: var(--text);
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
padding: 0;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
min-height: 100vh;
display: flex;
flex-direction: column;
}
header {
margin-bottom: 2rem;
text-align: center;
}
header h1 {
color: var(--primary);
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
header p {
color: var(--text-muted);
font-size: 1.1rem;
}
.card {
background-color: var(--card-bg);
border-radius: 0.5rem;
padding: 1.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.form-card {
border-left: 4px solid var(--primary);
}
.result-card {
border-left: 4px solid var(--success);
}
.result-card.error {
border-left-color: var(--error);
}
h2 {
color: var(--primary);
margin-top: 0;
margin-bottom: 1rem;
font-size: 1.5rem;
}
.form-group {
margin-bottom: 1rem;
}
label {
display: block;
margin-bottom: 0.5rem;
color: var(--text-muted);
}
select, input, textarea {
width: 100%;
padding: 0.75rem;
border-radius: 0.25rem;
border: 1px solid #2D3748;
background-color: #2D3748;
color: var(--text);
margin-bottom: 0.5rem;
}
textarea {
min-height: 150px;
resize: vertical;
}
button {
background-color: var(--primary);
color: white;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 0.25rem;
cursor: pointer;
font-weight: bold;
transition: background-color 0.2s;
margin-top: 1rem;
}
button:hover {
background-color: var(--primary-dark);
}
button:disabled {
background-color: #4A5568;
cursor: not-allowed;
}
.loader {
display: flex;
justify-content: center;
gap: 0.5rem;
margin: 1rem 0;
}
.loader span {
display: inline-block;
width: 1rem;
height: 1rem;
border-radius: 50%;
background-color: var(--primary);
animation: bounce 1.4s infinite ease-in-out both;
}
.loader span:nth-child(1) {
animation-delay: -0.32s;
}
.loader span:nth-child(2) {
animation-delay: -0.16s;
}
@keyframes bounce {
0%, 80%, 100% {
transform: scale(0);
}
40% {
transform: scale(1);
}
}
pre {
background-color: #2D3748;
padding: 1rem;
border-radius: 0.25rem;
overflow-x: auto;
white-space: pre-wrap;
word-wrap: break-word;
}
@media (max-width: 768px) {
.container {
padding: 1rem;
}
header h1 {
font-size: 2rem;
}
}
|