/* CleanCopy CSS - Premium Universal Stylesheet */
*, *::before, *::after {
    box-sizing: border-box;
}

.cc-wrapper {
    background-color: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1a202c;
    padding: 20px;
    border-radius: 8px;
    width: 100%;
    min-height: 80vh;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

/* Header Bar Styling */
.cc-header-bar {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-bottom: 3px solid #e2e8f0;
}

.cc-header-bar h1 {
    text-align: center;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.5px;
}

/* Split Column Main Container */
.cc-container {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.cc-panel {
    display: table-cell;
    width: 50%;
    vertical-align: top;
    background: #ffffff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.cc-panel-header {
    display: table;
    width: 100%;
    margin-bottom: 12px;
}

.cc-panel-header h2 {
    display: table-cell;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #4a5568;
    vertical-align: middle;
}

.cc-counter {
    display: table-cell;
    text-align: right;
    font-size: 12px;
    color: #718096;
    vertical-align: middle;
}

.cc-counter span {
    margin-left: 10px;
}

/* Textarea Inputs */
.cc-wrapper textarea {
    width: 100% !important;
    height: 300px !important;
    padding: 15px !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 6px !important;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #2d3748 !important;
    background-color: #f8fafc !important;
    resize: vertical !important;
    margin-bottom: 15px !important;
    outline: none !important;
    transition: border-color 0.15s ease-in-out;
}

.cc-wrapper textarea:focus {
    border-color: #a0aec0 !important;
    background-color: #ffffff !important;
}

/* Action Utility Layout grids alternative */
.cc-actions-grid {
    display: block;
    margin-top: 15px;
}

/* Formatter Utilities Buttons */
.cc-btn {
    display: inline-block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 4px;
    transition: all 0.2s ease-in-out;
    text-transform: none;
    text-decoration: none;
}

.cc-btn-action {
    background-color: #edf2f7;
    color: #2d3748;
    border: 1px solid #cbd5e0;
}

.cc-btn-action:hover {
    background-color: #e2e8f0;
    color: #1a202c;
}

.cc-btn-danger {
    background-color: #fed7d7;
    color: #9b2c2c;
    border: 1px solid #feb2b2;
}

.cc-btn-danger:hover {
    background-color: #feb2b2;
    color: #742a2a;
}

/* Light Neon Green Action Controls Styling */
.cc-btn-neon {
    background-color: #39ff14;
    color: #1a202c;
    border: 1px solid #2cfc03;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    box-shadow: 0 2px 4px rgba(57, 255, 20, 0.2);
}

.cc-btn-neon:hover {
    background-color: #2cfc03;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(57, 255, 20, 0.3);
}

.cc-btn-neon:active {
    transform: translateY(0);
}

.cc-output-controls {
    text-align: right;
    margin-top: 15px;
}

/* Device Auto Adjustment / Responsive Queries Breakpoints */
@media screen and (max-width: 900px) {
    .cc-container {
        display: block;
        border-spacing: 0;
    }
    .cc-panel {
        display: block;
        width: 100%;
        margin-bottom: 20px;
    }
}