/* Studio CSS - Clean and Simple Design */

/* ===== BASE STYLES ===== */
.studio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #0a0a0a;
    min-height: 100vh;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* ===== MESSAGES ===== */
.messages-container {
    margin-bottom: 20px;
}

.message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid;
}

.message.success {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    color: #00ff00;
}

.message.error {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
}

.message.warning {
    background: rgba(255, 165, 0, 0.1);
    border-color: #ffa500;
    color: #ffa500;
}

.message.info {
    background: rgba(0, 150, 255, 0.1);
    border-color: #0096ff;
    color: #0096ff;
}

.message .material-icons {
    font-size: 1.25rem;
}

.message-text {
    flex: 1;
    font-weight: 500;
}

.message-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.message-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STUDIO HEADER ===== */
.studio-header {
    background: #1a1a1a;
    border: 1px solid #00ff00;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.studio-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff00, #00cc00, #00ff00);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.studio-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.studio-icon {
    width: 60px;
    height: 60px;
    background: #00ff00;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.studio-icon .material-icons {
    font-size: 30px;
    color: #000;
}

.studio-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    margin: 0;
}

.studio-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin: 5px 0 0 0;
}

/* Studio Stats */
.studio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: #00ff00;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: #00ff00;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon .material-icons {
    font-size: 24px;
    color: #000;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff00;
    line-height: 1;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ===== CONTENT SELECTOR ===== */
.content-selector {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.selector-header {
    margin-bottom: 20px;
}

.selector-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00ff00;
    margin: 0;
}

.selector-title .material-icons {
    font-size: 1.5rem;
}

.selector-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.selector-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

.selector-tab:hover {
    background: #333;
    border-color: #00ff00;
    color: #00ff00;
}

.selector-tab.active {
    background: #00ff00;
    border-color: #00ff00;
    color: #000;
}

/* ===== CONTENT FORMS ===== */
.content-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.content-form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-header {
    margin-bottom: 30px;
}

.form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #00ff00;
    margin: 0 0 10px 0;
}

.form-subtitle {
    color: #888;
    font-size: 1rem;
    margin: 0;
}

/* ===== EDITOR LAYOUT ===== */
.editor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.editor-panel {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
}

.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.editor-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00ff00;
    margin: 0;
}

.editor-tools {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool-btn:hover {
    background: #00ff00;
    border-color: #00ff00;
    color: #000;
}

.tool-btn .material-icons {
    font-size: 18px;
}

/* ===== FORMS ===== */
.studio-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 500;
    color: #ccc;
    font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.markdown-editor {
    min-height: 300px;
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== FILE INPUT ===== */
.file-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.file-input-wrapper:hover .file-input-label {
    border-color: #00ff00;
    color: #00ff00;
}

.file-input-wrapper.has-file .file-input-label {
    border-color: #00ff00;
    color: #00ff00;
}

.current-image {
    margin-top: 10px;
    padding: 10px;
    background: #2a2a2a;
    border-radius: 8px;
    text-align: center;
}

/* ===== FORM ERRORS ===== */
.form-error {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 5px;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 6px;
}

/* ===== FORM ACTIONS ===== */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-danger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
    min-width: 120px;
}

.btn-primary {
    background: #00ff00;
    color: #000;
}

.btn-primary:hover {
    background: #00cc00;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #2a2a2a;
    color: #ccc;
    border: 1px solid #444;
}

.btn-secondary:hover {
    background: #333;
    border-color: #00ff00;
    color: #00ff00;
}

.btn-danger {
    background: #ff6b6b;
    color: #fff;
}

.btn-danger:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== PREVIEW PANEL ===== */
.preview-panel {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.preview-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00ff00;
    margin: 0;
}

.preview-toggle {
    display: flex;
    gap: 5px;
}

.toggle-btn {
    padding: 6px 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.toggle-btn.active {
    background: #00ff00;
    border-color: #00ff00;
    color: #000;
}

.markdown-preview {
    flex: 1;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 8px;
    overflow-y: auto;
    min-height: 400px;
    line-height: 1.6;
    color: #fff;
}

.markdown-preview h1,
.markdown-preview h2,
.markdown-preview h3,
.markdown-preview h4,
.markdown-preview h5,
.markdown-preview h6 {
    color: #00ff00;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.markdown-preview h1 {
    font-size: 2rem;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 0.3em;
}

.markdown-preview h2 {
    font-size: 1.5rem;
}

.markdown-preview h3 {
    font-size: 1.25rem;
}

.markdown-preview p {
    margin-bottom: 1em;
}

.markdown-preview ul,
.markdown-preview ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.markdown-preview li {
    margin-bottom: 0.5em;
}

.markdown-preview code {
    background: #1a1a1a;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    color: #00ff00;
}

.markdown-preview pre {
    background: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1em 0;
    border: 1px solid #333;
}

.markdown-preview pre code {
    background: none;
    padding: 0;
    color: #fff;
}

.markdown-preview blockquote {
    border-left: 4px solid #00ff00;
    padding-left: 1em;
    margin: 1em 0;
    color: #888;
    font-style: italic;
}

/* ===== MY CONTENT SECTION ===== */
.my-content-section {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.content-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #00ff00;
    margin: 0;
}

.content-actions {
    display: flex;
    gap: 10px;
}

.btn-refresh {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    background: #00ff00;
    border-color: #00ff00;
    color: #000;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.content-column {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px;
}

.column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.column-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00ff00;
    margin: 0;
}

.column-count {
    background: #00ff00;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.content-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.content-list::-webkit-scrollbar {
    width: 4px;
}

.content-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
}

.content-list::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 2px;
}

.content-list::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

.content-item {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content-item:hover {
    border-color: #00ff00;
    transform: translateY(-2px);
}

.content-item:last-child {
    margin-bottom: 0;
}

.item-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.item-icon {
    width: 40px;
    height: 40px;
    background: #00ff00;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon .material-icons {
    font-size: 20px;
    color: #000;
}

.item-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.item-title {
    font-weight: 600;
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.meta-category {
    color: #00ff00;
    font-weight: 500;
}

.item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-self: flex-start;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn.edit {
    color: #00ff00;
}

.action-btn.edit:hover {
    background: #00ff00;
    color: #000;
}

.action-btn.view {
    color: #0096ff;
}

.action-btn.view:hover {
    background: #0096ff;
    color: #fff;
}

.action-btn.delete {
    color: #ff6b6b;
}

.action-btn.delete:hover {
    background: #ff6b6b;
    color: #fff;
}

.action-btn .material-icons {
    font-size: 18px;
}

.empty-content {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.empty-icon {
    width: 60px;
    height: 60px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.empty-icon .material-icons {
    font-size: 30px;
    color: #666;
}

.empty-text h4 {
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    color: #ccc;
}

.empty-text p {
    margin: 0;
    color: #888;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

@keyframes slideIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-header {
    margin-bottom: 20px;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ff6b6b;
    margin: 0;
}

.modal-body {
    margin-bottom: 30px;
}

.modal-body p {
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .studio-container {
        padding: 30px;
    }
    
    .editor-layout {
        gap: 40px;
    }
    
    .content-grid {
        gap: 40px;
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) {
    .studio-container {
        padding: 20px;
    }
    
    .studio-header {
        padding: 25px;
    }
    
    .studio-info h1 {
        font-size: 2rem;
    }
    
    .editor-layout {
        gap: 25px;
    }
}

/* Small screens (768px and down) */
@media (max-width: 768px) {
    .studio-container {
        padding: 15px;
    }
    
    .studio-header {
        padding: 20px;
    }
    
    .studio-header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .studio-info h1 {
        font-size: 1.8rem;
    }
    
    .studio-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .content-selector {
        padding: 15px;
    }
    
    .selector-tabs {
        flex-direction: column;
    }
    
    .selector-tab {
        min-width: auto;
    }
    
    .form-header {
        margin-bottom: 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .editor-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .editor-panel,
    .preview-panel {
        padding: 15px;
    }
    
    .editor-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .editor-tools {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-danger {
        width: 100%;
    }
    
    .my-content-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
         .content-column {
         padding: 15px;
     }
     
     .content-list {
         max-height: 400px;
     }
    
         .content-item {
         flex-direction: column;
         align-items: flex-start;
         gap: 15px;
         padding: 12px;
     }
     
     .item-header {
         width: 100%;
         flex-direction: column;
         align-items: flex-start;
         gap: 10px;
     }
     
     .item-info {
         width: 100%;
     }
     
     .item-title {
         -webkit-line-clamp: 3;
         white-space: normal;
     }
     
     .item-meta {
         width: 100%;
         justify-content: flex-start;
     }
     
     .item-actions {
         width: 100%;
         justify-content: center;
         margin-top: 10px;
     }
    
    .modal-content {
        padding: 20px;
        width: 95%;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

/* Extra small screens (480px and down) */
@media (max-width: 480px) {
    .studio-container {
        padding: 10px;
    }
    
    .studio-header {
        padding: 15px;
    }
    
    .studio-info h1 {
        font-size: 1.5rem;
    }
    
    .content-selector {
        padding: 10px;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .editor-panel,
    .preview-panel {
        padding: 10px;
    }
    
    .markdown-editor {
        min-height: 250px;
    }
    
    .markdown-preview {
        min-height: 300px;
        padding: 15px;
    }
    
    .my-content-section {
        padding: 15px;
    }
    
    .content-title {
        font-size: 1.3rem;
    }
    
         .content-column {
         padding: 10px;
     }
     
     .content-list {
         max-height: 350px;
         gap: 10px;
     }
    
         .content-item {
         padding: 10px;
     }
     
     .item-header {
         gap: 8px;
     }
     
     .item-icon {
         width: 35px;
         height: 35px;
     }
     
     .item-icon .material-icons {
         font-size: 18px;
     }
     
     .item-title {
         font-size: 0.95rem;
         -webkit-line-clamp: 4;
     }
     
     .item-meta {
         flex-direction: column;
         gap: 5px;
         font-size: 0.8rem;
     }
     
     .action-btn {
         width: 32px;
         height: 32px;
     }
     
     .action-btn .material-icons {
         font-size: 16px;
     }
}

/* ===== SCROLLBAR STYLING ===== */
.content-list::-webkit-scrollbar,
.markdown-preview::-webkit-scrollbar {
    width: 6px;
}

.content-list::-webkit-scrollbar-track,
.markdown-preview::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
}

.content-list::-webkit-scrollbar-thumb,
.markdown-preview::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 3px;
}

.content-list::-webkit-scrollbar-thumb:hover,
.markdown-preview::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #00ff00;
    border-radius: 50%;
    animation: loading 1s linear infinite;
}

@keyframes loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ENHANCED ANIMATIONS ===== */
.studio-header,
.content-selector,
.editor-panel,
.preview-panel,
.content-column {
    position: relative;
    overflow: hidden;
}

.studio-header::after,
.content-selector::after,
.editor-panel::after,
.preview-panel::after,
.content-column::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.studio-header:hover::after,
.content-selector:hover::after,
.editor-panel:hover::after,
.preview-panel:hover::after,
.content-column:hover::after {
    left: 100%;
}

/* ===== BUTTON ENHANCEMENTS ===== */
.btn-primary,
.btn-secondary,
.btn-danger {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.btn-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-danger:hover::before {
    left: 100%;
}

/* ===== FORM ENHANCEMENTS ===== */
.form-input,
.form-textarea,
.form-select {
    position: relative;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.2);
}

/* ===== CONTENT ITEM ENHANCEMENTS ===== */
.content-item {
    position: relative;
    overflow: hidden;
}

.content-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.content-item:hover::before {
    left: 100%;
}

/* ===== STAT ITEM ENHANCEMENTS ===== */
.stat-item {
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

/* ===== SELECTOR TAB ENHANCEMENTS ===== */
.selector-tab {
    position: relative;
    overflow: hidden;
}

.selector-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.selector-tab:hover::before {
    left: 100%;
}

/* ===== TOOL BUTTON ENHANCEMENTS ===== */
.tool-btn {
    position: relative;
    overflow: hidden;
}

.tool-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.tool-btn:hover::before {
    left: 100%;
}

/* ===== ACTION BUTTON ENHANCEMENTS ===== */
.action-btn {
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}