.add-words { padding-left: 1rem; padding-right: 1rem; } @media (min-width: 768px) { .add-words { padding-left: 1.5rem; padding-right: 1.5rem; } } .add-words h2 { margin-top: 2rem; margin-bottom: 1rem; color: #2c3e50; font-size: 2rem; } .description { margin-bottom: 1.5rem; color: #666; font-size: 0.95rem; } .markdown-input { width: 100%; padding: 1rem; border: 2px solid #ddd; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.9rem; resize: vertical; margin-bottom: 1rem; transition: border-color 0.2s; } .markdown-input:focus { outline: none; border-color: #3498db; } .submit-button { background-color: #3498db; color: white; border: none; padding: 0.75rem 2rem; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; } .submit-button:hover:not(:disabled) { background-color: #2980b9; } .submit-button:disabled { background-color: #bdc3c7; cursor: not-allowed; } .message { margin-top: 1rem; padding: 1rem; border-radius: 4px; font-weight: 500; } .message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .close-x-button { position: fixed; top: 1rem; right: 1rem; background: rgba(255, 255, 255, 0.9); border: none; font-size: 1.5rem; color: #7f8c8d; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background-color 0.2s, color 0.2s; z-index: 1600; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } .close-x-button:hover { background-color: #ffffff; color: #2c3e50; }