.html-minifier-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.html-minifier-container h2 {
    text-align: center;
    color: #1d2327;
    margin-bottom: 20px;
}

.minifier-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 6px;
}

.option-group {
    flex: 1;
    min-width: 250px;
}

.option-group label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.minifier-interface {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.code-editor {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.editor-header h3 {
    margin: 0;
    font-size: 1.1em;
}

.editor-btn {
    padding: 5px 10px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}

.editor-btn:hover {
    background: #135e96;
}

.editor-actions {
    display: flex;
    gap: 8px;
}

#html-input {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    border: none;
    resize: vertical;
    font-family: monospace;
    background: #f9f9f9;
}

.minify-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.minify-button {
    padding: 10px 20px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.minify-button:hover {
    background: #135e96;
}

.stats {
    display: flex;
    gap: 15px;
    font-size: 0.9em;
    color: #666;
}

#html-output {
    margin: 0;
    padding: 15px;
    min-height: 300px;
    background: #2d2d2d;
    color: #f8f8f2;
    overflow-x: auto;
}

/* Share Modal */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.share-option {
    padding: 10px;
    background: #f5f5f5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
}

.share-option:hover {
    background: #eee;
}

.direct-link {
    display: flex;
    margin-top: 20px;
}

.direct-link input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.direct-link button {
    padding: 8px 15px;
    background: #2271b1;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Prism overrides */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: #999;
}