Spaces:
Running
Running
File size: 2,529 Bytes
8ac8c7b de72f76 8ac8c7b 0cec0c1 8ac8c7b 0cec0c1 ea0d61a 0cec0c1 ea0d61a 0cec0c1 ea0d61a 8ac8c7b 5c9215b |
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 |
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
min-height: 100vh;
overflow-y: auto;
}
.container {
width: 50%;
background: white;
padding: 30px;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
border-radius: 10px;
text-align: center;
transition: transform 0.3s ease;
}
.container:hover {
transform: scale(1.02);
}
h1 {
color: #333;
margin-bottom: 20px;
font-size: 24px;
font-weight: bold;
}
label {
font-size: 16px;
font-weight: bold;
display: block;
margin-top: 15px;
color: #444;
text-align: left;
}
textarea, select, input {
width: 100%;
padding: 12px;
margin-top: 8px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 16px;
transition: border 0.3s ease, box-shadow 0.3s ease;
}
textarea {
resize: vertical;
min-height: 120px;
}
textarea:focus, select:focus, input:focus {
border-color: #4CAF50;
box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
outline: none;
}
select {
cursor: pointer;
background-color: #fff;
}
button {
background: #4CAF50;
color: white;
padding: 12px 20px;
margin-top: 20px;
border: none;
cursor: pointer;
border-radius: 6px;
font-size: 16px;
width: 100%;
transition: background 0.3s ease, transform 0.2s;
}
button:disabled {
background: #ccc;
cursor: not-allowed;
}
button:hover:not(:disabled) {
background: #388E3C;
transform: scale(1.03);
}
#number_label, #number {
display: none;
}
#charCount {
font-size: 14px;
color: #666;
margin-top: 5px;
text-align: right;
}
.result-section {
margin-top: 20px;
padding: 15px;
background-color: #f0fff0;
border-left: 5px solid #4CAF50;
border-radius: 6px;
font-size: 16px;
text-align: left;
font-weight: 500;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Loading Spinner */
.loading-spinner {
width: 40px;
height: 40px;
border: 5px solid rgba(0, 0, 0, 0.1);
border-top: 5px solid #4CAF50;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 20px auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
.container {
width: 90%;
padding: 20px;
}
} |