:root {
    --bg-dark: #121212;
    --bg-light: #ffffff;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --primary-color: #2364aa;
    --primary-yellow: #fec601;
    --primary-orange: #ea7317;
    --secondary-blue: #3da5d9;
    --third-blue: #73bfb8;
    --primary-red: #e63946;
    --primary-white: #f8f9fa;
}

/* Base Layout */
.material-workspace {
    display: flex;
    height: 100vh;
    overflow: hidden;
    min-width: 100vw;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Left Canvas */
.preview-canvas {
    width: 50%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.canvas-content {
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
}

.img-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.pdf-frame {
    width: 100%;
    min-height: 100%;
    border: none;
    border-radius: 4px;
}

.text-document {
    background: white;
    min-width: 100%;
    min-width: 100%;
    border-radius: 2px;
    padding-left: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Sidebar Styling */
.sidebar {
    background:var(--primary-white);
    border-left: 1px solid var(--border);
    display: flex;
    width: 100%;
    flex-direction: column;
    flex: 1;
}

.sidebar-pane {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hide { display: none !important; }

/* Components */
.btn-ghost {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.btn-ghost:hover { color: var(--primary-color); }

.sidebar-header h1 {
    font-size: 1.5rem;
    margin: 10px 0;
    color: var(--text-main);
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.sidebar-content {
    margin-top: 2rem;
    flex-grow: 1;
}

.sidebar-content label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
}

.desc {
    margin-top: 10px;
    color: var(--text-main);
    line-height: 1.6;
}

/* Buttons */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-main {
    background: var(--primary-color);
    color: var(--primary-white);
    text-align: center;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}

.btn-main:hover { background: var(--accent-hover); }

.btn-text { font-weight: 600; }
.btn-subtext { font-size: 0.7rem; opacity: 0.8; }

/* Form Styling */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
}

.form-group textarea { height: 180px; resize: none; }





