:root {
            --primary-color: #9c27b0;
            --secondary-color: #e1bee7;
            --accent-color: #7b1fa2;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #4caf50;
            --warning-color: #ff9800;
            --cursive-color: #7b1fa2;
            --design-color: #e91e63;
        }textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-size: 1.1rem;
}.cursive-preview {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
    overflow: hidden;
}.copy-btn{top:0px;right:0px}
        .page-header {
            background: linear-gradient(135deg, rgba(225, 190, 231, 0.4) 0%, rgba(156, 39, 176, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(156, 39, 176, 0.2);
            position: relative;
            overflow: hidden; color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.15);
        }
        textarea.cursive-preview {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 2rem;
            min-height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            transition: all 0.3s;
            overflow: hidden;
        }
        .cursive-text {
            font-size: 2.5rem;
            line-height: 1.4;
            transition: all 0.3s;
            max-width: 100%;
            word-wrap: break-word;
        }
        .font-selector {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .font-option {
            border: 2px solid transparent;
            border-radius: 6px;
            padding: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
            background-color: white;
            position: relative;
        }
        .font-option:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .font-option.active {
            border-color: var(--primary-color);
            background-color: rgba(156, 39, 176, 0.05);
        }
        .font-name {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }
        .font-sample {
            font-size: 1.2rem;
            color: var(--text-muted);
        }
        .font-compare-btn {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: rgba(156, 39, 176, 0.1);
            border: 1px solid rgba(156, 39, 176, 0.3);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.8rem;
            transition: all 0.2s;
        }
        .font-compare-btn:hover {
            background-color: rgba(156, 39, 176, 0.3);
            transform: scale(1.1);
        }
        .font-compare-btn.active {
            background-color: var(--primary-color);
            color: white;
        }
        .font-comparison-container {
            display: none;
            margin-top: 2rem;
            border-top: 1px solid var(--border-color);
            padding-top: 1.5rem;
        }
        .font-comparison-title {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .font-comparison-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-top: 1rem;
        }
        .comparison-item {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 1.5rem;
            text-align: center;
            background-color: white;
        }
        .comparison-font-name {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-color);
            font-size: 1.2rem;
        }
        .comparison-preview {
            min-height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            font-size: 1.8rem;
            line-height: 1.4;
        }
        .comparison-actions {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
        }
        .style-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .style-control {
            flex: 1;
            min-width: 150px;
        }
        .color-picker {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid #ddd;
            cursor: pointer;
            transition: all 0.2s;
        }
        .color-picker:hover {
            transform: scale(1.1);
        }
        .color-options {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        .result-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 2rem;
        }
        .copy-btn {
            background-color: var(--success-color);
            color: white;
        }
        .download-btn {
            background-color: var(--primary-color);
            color: white;
        }
        .share-btn {
            background-color: var(--warning-color);
            color: white;
        }
        .unicode-styles {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1.5rem 0;
        }
        .unicode-style {
            padding: 0.5rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 1.1rem;
        }
        .unicode-style:hover {
            background-color: rgba(156, 39, 176, 0.1);
            border-color: var(--primary-color);
        }
        .design-box {
            background-color: rgba(233, 30, 99, 0.05);
            border-left: 3px solid var(--design-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        .example-texts {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-text {
            background-color: rgba(156, 39, 176, 0.1);
            border: 1px solid rgba(156, 39, 176, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .example-text:hover {
            background-color: rgba(156, 39, 176, 0.2);
            transform: translateY(-2px);
        }
        .social-styles {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .social-style {
            padding: 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
        }
        .social-style:hover {
            border-color: var(--primary-color);
            background-color: rgba(156, 39, 176, 0.05);
        }
        .social-icon {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }
        .character-counter {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        @media (max-width: 768px) {
            .cursive-text {
                font-size: 1.8rem;
            }
            .font-selector {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            .style-controls {
                flex-direction: column;
            }
            .font-comparison-grid {
                grid-template-columns: 1fr;
            }
        }
        .unicode-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .unicode-table th, .unicode-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .unicode-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .unicode-table tr:nth-child(even) {
            background-color: rgba(156, 39, 176, 0.05);
        }
        .font-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .font-category {
            padding: 0.5rem 1rem;
            background-color: var(--light-gray);
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .font-category.active {
            background-color: var(--primary-color);
            color: white;
        }
        .gradient-preview {
            height: 60px;
            border-radius: 6px;
            margin-top: 0.5rem;
            border: 1px solid #ddd;
        }
        .settings-management {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
        }
        .settings-buttons {
            display: flex;
            gap: 0.75rem;
            margin-top: 1rem;
        }
        .history-panel {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
        }
        .history-list {
            max-height: 200px;
            overflow-y: auto;
            margin-top: 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 0.5rem;
        }
        .history-item {
            padding: 0.75rem;
            border-bottom: 1px solid var(--border-color);
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .history-item:hover {
            background-color: rgba(156, 39, 176, 0.05);
        }
        .history-item:last-child {
            border-bottom: none;
        }
        .history-text {
            font-family: 'Courier New', monospace;
            font-size: 0.9rem;
        }
        .history-date {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .unicode-categories {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .unicode-category {
            padding: 0.5rem 1rem;
            background-color: var(--light-gray);
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }
        .unicode-category.active {
            background-color: var(--primary-color);
            color: white;
        }
        .unicode-preview-area {
            margin-top: 1rem;
            padding: 1rem;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: white;
        }
        .unicode-preview-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
        .unicode-preview-text {
            font-size: 1.5rem;
            line-height: 1.4;
            text-align: center;
            padding: 1rem;
            background-color: rgba(156, 39, 176, 0.05);
            border-radius: 4px;
        }