/**
 * Layout Styles
 * Panel layouts, headers, and main structural components
 */

.left-panel {
    width: 380px;
    background: linear-gradient(145deg, rgba(20,20,20,0.95), rgba(10,10,10,0.98));
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #000000;
}

.header {
    padding: 24px 20px 20px 20px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.header h1 {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: 'Roboto', sans-serif;
    color: var(--md-text-high);
}

/* User Section - Minimal Design */
.user-section {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 11px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-name {
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    color: var(--md-text-medium);
    font-weight: 400;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    opacity: 0;
    transition: all 0.2s ease;
}

.user-section:hover .logout-btn {
    opacity: 1;
}

.logout-btn:hover {
    color: #ff3b30;
}

.form-section {
    padding: 20px;
    background: transparent;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    color: var(--md-text-medium);
    font-size: 13px;
    letter-spacing: 0;
}

.html-viewer {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
}

.viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.viewer-header h2 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--md-text-high);
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.html-content {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: white;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
