.regex-generator-container{background:#f8f9fa;flex-direction:column;width:100%;min-height:calc(100vh - 69px);display:flex}.regex-loading{color:#718096;flex:1;justify-content:center;align-items:center;gap:.75rem;padding:4rem 1rem;font-size:.95rem;display:flex}.regex-loading .spinner{border:2px solid #e2e8f0;border-top-color:#f36e2b;border-radius:50%;width:20px;height:20px;animation:.8s linear infinite regex-spin}@keyframes regex-spin{to{transform:rotate(360deg)}}.tester-header{color:#fff;text-align:center;background:linear-gradient(135deg,#f36e2b 0%,#e55a1a 100%);flex-shrink:0;padding:2rem}.tester-header h1{margin:0 0 .5rem;font-size:2rem;font-weight:600}.tester-header p{opacity:.9;margin:0;font-size:1rem}.main-content{flex-shrink:0;gap:1rem;padding:1rem;display:flex}.input-panel{background:#fff;border-radius:8px;flex-direction:column;flex:1;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000001a}.panel-header{background:#f7fafc;border-bottom:1px solid #e2e8f0;flex-shrink:0;justify-content:space-between;align-items:center;padding:1rem;display:flex}.panel-header h3{color:#2d3748;margin:0;font-size:1rem;font-weight:600}.panel-controls{gap:.5rem;display:flex}.panel-btn{cursor:pointer;color:#718096;background:0 0;border:1px solid #e2e8f0;border-radius:4px;align-items:center;gap:.35rem;padding:.35rem .6rem;font-size:.75rem;transition:all .2s;display:flex}.panel-btn:hover{color:#f36e2b;background:#f7fafc;border-color:#f36e2b}.input-container{flex-direction:column;flex:1;gap:.4rem;padding:1rem;display:flex}.input-container label{color:#2d3748;margin-top:.5rem;font-size:.8rem;font-weight:600}.input-container label:first-child{margin-top:0}.paragraph-input{resize:vertical;color:#2d3748;background:#fff;border:1.5px solid #cbd5e1;border-radius:6px;outline:none;min-height:160px;padding:.85rem 1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;line-height:1.5;transition:border-color .2s,box-shadow .2s}.paragraph-input:hover{border-color:#94a3b8}.paragraph-input:focus{border-color:#f36e2b;box-shadow:0 0 0 3px #f36e2b26}.paragraph-input::placeholder{color:#a0aec0}.target-word-input{color:#2d3748;border:1.5px solid #cbd5e1;border-radius:6px;outline:none;padding:.75rem 1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.95rem;transition:border-color .2s,box-shadow .2s}.target-word-input:hover{border-color:#94a3b8}.target-word-input:focus{border-color:#f36e2b;box-shadow:0 0 0 3px #f36e2b26}.target-word-input::placeholder{color:#a0aec0}.panel-footer{border-top:1px solid #e2e8f0;justify-content:flex-end;padding:1rem;display:flex}.generate-btn{color:#fff;cursor:pointer;white-space:nowrap;background:linear-gradient(135deg,#f36e2b 0%,#e55a1a 100%);border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.9rem;font-weight:600;transition:all .2s;display:flex}.generate-btn:hover:not(:disabled){background:linear-gradient(135deg,#e55a1a 0%,#d44a0a 100%)}.generate-btn:disabled{opacity:.6;cursor:not-allowed}.results-section{background:#fff;border-radius:8px;margin:0 1rem 2rem;overflow:hidden;box-shadow:0 2px 8px #0000001a}.results-header{background:#f7fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:1rem 1.5rem;display:flex}.results-header h3{color:#2d3748;margin:0;font-size:1.125rem;font-weight:600}.results-controls{gap:.5rem;display:flex}.copy-btn{cursor:pointer;color:#718096;background:0 0;border:1px solid #e2e8f0;border-radius:4px;align-items:center;gap:.25rem;padding:.5rem .75rem;font-size:.75rem;transition:all .2s;display:flex}.copy-btn:hover{color:#f36e2b;background:#f7fafc;border-color:#f36e2b}.results-content{padding:1.5rem}.error-box{color:#c53030;white-space:pre-wrap;word-break:break-word;background:#fff5f5;border:1px solid #feb2b2;border-radius:6px;padding:.9rem 1.1rem;font-size:.875rem}.pattern-row{background:#2d3748;border-radius:8px;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding:1rem 1.25rem;display:flex}.pattern-value{color:#f9c795;white-space:pre-wrap;word-break:break-all;flex:1;min-width:200px;margin:0;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:1rem}.flags-badge{color:#f9c795;background:#f36e2b26;border-radius:4px;flex-shrink:0;padding:.25rem .6rem;font-size:.75rem;font-weight:600}.explanation-box{margin-bottom:1.25rem}.explanation-box h4{color:#2d3748;margin:0 0 .4rem;font-size:.9rem;font-weight:600}.explanation-box p{color:#4a5568;margin:0;font-size:.9rem;line-height:1.6}.preview-box{background:#f7fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem 1.25rem}.preview-header{justify-content:space-between;align-items:center;margin-bottom:.6rem;display:flex}.preview-header h4{color:#2d3748;margin:0;font-size:.9rem;font-weight:600}.match-count{color:#f36e2b;background:#f36e2b1a;border-radius:4px;padding:.2rem .5rem;font-size:.75rem;font-weight:600}.preview-text{color:#2d3748;white-space:pre-wrap;word-break:break-word;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;line-height:1.7}.preview-text mark{color:#e55a1a;background:#f36e2b40;border-radius:3px;padding:0 .15rem}@media (max-width:768px){.main-content{flex-direction:column}.pattern-row{flex-direction:column;align-items:flex-start}}
