.sng-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.sng-input-container {
    position: relative;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

#sng-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

#sng-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.sng-char-count {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.875rem;
    pointer-events: none;
}

.sng-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.sng-style-card {
    background: white;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.sng-style-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sng-style-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.sng-style-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.sng-copy-btn {
    background: #eef2ff;
    border: none;
    padding: 0.375rem;
    cursor: pointer;
    color: #4f46e5;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sng-copy-btn:hover {
    background-color: #e0e7ff;
    color: #4338ca;
}

.sng-transformed-text {
    font-size: 1.125rem;
    color: #111827;
    word-break: break-word;
    line-height: 1.4;
    text-align: center;
}

/* Admin Styles */
.font-style-entry {
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.font-style-entry input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.font-style-entry input[type="text"]:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.font-style-entry textarea {
    width: 100%;
    height: 150px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-family: monospace;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.font-style-entry textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.font-style-entry .button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.font-style-entry .remove-style {
    background: #dc3545;
    color: white;
    border: none;
}

.font-style-entry .remove-style:hover {
    background: #c82333;
}

#add-font-style {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

#add-font-style:hover {
    background: #4338ca;
}

.wrap {
    max-width: 1000px;
    margin: 1.5rem auto;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wrap h1 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    font-size: 1.5rem;
}

.style-preview {
    background: #f8fafc;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-top: 0.75rem;
    border: 1px solid #e2e8f0;
}

.style-info {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: #f1f5f9;
    border-radius: 0.375rem;
    border-left: 4px solid #4f46e5;
}