 :root {
     --main-blue: #5fb9f6;
     --blue-hover: #2e85be;
     --light-gray: #f5f7fa;
     --gray-border: #dcdfe6;
     --text: #1f1f1f;
     --success: #28a745;
 }


 .app-container {
     width: 100%;
     max-width: 800px;
     padding: 20px;
     margin: 0 auto;
 }

 textarea {
     width: 100%;
     min-height: 150px;
     resize: vertical;
     background: var(--light-gray);
     border: 1px solid var(--gray-border);
     border-radius: 8px;
     padding: 15px;
     font-size: 15px;
     line-height: 1.6;
     color: var(--text);
     transition: border 0.2s;
 }

 textarea:focus {
     border-color: var(--main-blue);
     outline: none;
     box-shadow: 0 0 8px rgba(13, 110, 253, 0.15);
 }

 .settings {
     display: flex;
     justify-content: center;
     margin: 25px 0 10px;
 }

 .switch {
     display: flex;
     align-items: center;
     gap: 10px;
     font-size: 14px;
 }

 .switch input {
     transform: scale(1.2);
 }

 .toolbar {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 10px;
     margin: 20px 0;
 }

 .toolbar button {
     padding: 10px 20px;
     font-size: 14px;
     background-color: white;
     color: var(--text);
     border: 1px solid var(--gray-border);
     border-radius: 30px;
     cursor: pointer;
     transition: all 0.2s ease-in-out;
 }

 .toolbar button:hover {
     background-color: var(--main-blue);
     color: white;
     border-color: var(--main-blue);
     box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
 }

 .toolbar button.active {
     background-color: var(--main-blue);
     color: white;
     border-color: var(--main-blue);
 }

 .output {
     background: var(--light-gray);
     border: 1px solid var(--gray-border);
     padding: 15px;
     font-size: 15px;
     border-radius: 8px;
     white-space: pre-wrap;
     word-break: break-word;
     min-height: 100px;
 }

 .copy-export {
     display: flex;
     justify-content: center;
     gap: 10px;
     margin-top: 15px;
 }

 .copy-export button {
     padding: 10px 25px;
     font-size: 14px;
     background: #3a5773;
     color: white;
     border: none;
     border-radius: 30px;
     cursor: pointer;
     transition: background 0.3s, transform 0.2s;
     box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
 }

 .copy-export button:hover {
     background: var(--blue-hover);
     transform: scale(1.05);
 }

 .copy-status {
     text-align: center;
     color: var(--success);
     margin-top: 8px;
     height: 20px;
     font-size: 14px;
 }

 .count-box {
     text-align: center;
     font-size: 14px;
     color: #666;
     margin-top: 10px;
 }